TextRenderer
DrawText(IDeviceContext, String, Font, Point, Color)
DrawText(IDeviceContext, String, Font, Rectangle, Color)
DrawText(IDeviceContext, String, Font, Point, Color, Color)
DrawText(IDeviceContext, String, Font, Point, Color, TextFormatFlags)
DrawText(IDeviceContext, String, Font, Rectangle, Color, Color)
DrawText(IDeviceContext, String, Font, Rectangle, Color, TextFormatFlags)
DrawText(IDeviceContext, String, Font, Point, Color, Color, TextFormatFlags)
DrawText(IDeviceContext, String, Font, Rectangle, Color, Color, TextFormatFlags)
DrawText(IDeviceContext, ReadOnlySpan<Char>, Font, Point, Color)
DrawText(IDeviceContext, ReadOnlySpan<Char>, Font, Rectangle, Color)
DrawText(IDeviceContext, ReadOnlySpan<Char>, Font, Point, Color, Color)
DrawText(IDeviceContext, ReadOnlySpan<Char>, Font, Point, Color, TextFormatFlags)
DrawText(IDeviceContext, ReadOnlySpan<Char>, Font, Rectangle, Color, Color)
DrawText(IDeviceContext, ReadOnlySpan<Char>, Font, Rectangle, Color, TextFormatFlags)
DrawText(IDeviceContext, ReadOnlySpan<Char>, Font, Point, Color, Color, TextFormatFlags)
DrawText(IDeviceContext, ReadOnlySpan<Char>, Font, Rectangle, Color, Color, TextFormatFlags)
MeasureText(String, Font)
MeasureText(IDeviceContext, String, Font)
MeasureText(String, Font, Size)
MeasureText(IDeviceContext, String, Font, Size)
MeasureText(String, Font, Size, TextFormatFlags)
MeasureText(IDeviceContext, String, Font, Size, TextFormatFlags)
MeasureText(ReadOnlySpan<Char>, Font)
MeasureText(IDeviceContext, ReadOnlySpan<Char>, Font)
MeasureText(ReadOnlySpan<Char>, Font, Size)
MeasureText(IDeviceContext, ReadOnlySpan<Char>, Font, Size)
MeasureText(ReadOnlySpan<Char>, Font, Size, TextFormatFlags)
MeasureText(IDeviceContext, ReadOnlySpan<Char>, Font, Size, TextFormatFlags)
net9.0-windows10.0.22621
namespace System.Windows.Forms
{
public static class TextRenderer
{
public static Size MeasureText(IDeviceContext! dc, string? text, Font? font);
}
}
NetFx Compat Lab | 9.8 %
Reference this API |
---|---|
nuget.org | 0.0 %
Reference this API |
Upgrade Planner | 0.1 %
Reference this API |
.NET | 5.06.07.08.09.0 |
.NET Core | 3.03.1 |
.NET Framework | 2.03.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.08.010.0.1776310.0.1836210.0.1904110.0.2034810.0.2200010.0.22621 |
Information specific to net9.0-windows10.0.22621 | |
Assembly | System.Windows.Forms , Version=9.0.0.0, PublicKeyToken=b77a5c561934e089 |
Referencing | Your project needs to set |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API