Measures the specified string when drawn with the specified
Font.
Namespace: Dapfor.Net.UiAssembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)
Syntax
C# |
---|
public Size TextMetrics(
string text,
Font font,
Graphics graphics
) |
Visual Basic |
---|
Public Function TextMetrics (
text As String,
font As Font,
graphics As Graphics
) As Size |
Visual C++ |
---|
public:
virtual Size TextMetrics(
String^ text,
Font^ font,
Graphics^ graphics
) sealed |
F# |
---|
abstract TextMetrics :
text : string *
font : Font *
graphics : Graphics -> Size
override TextMetrics :
text : string *
font : Font *
graphics : Graphics -> Size |
Parameters
- text
- Type: System..::..String
The text to be measured.
- font
- Type: System.Drawing..::..Font
The font.
- graphics
- Type: System.Drawing..::..Graphics
The graphics.
Return Value
Type:
Size[Missing <returns> documentation for "M:Dapfor.Net.Ui.GDIPlusRender.TextMetrics(System.String,System.Drawing.Font,System.Drawing.Graphics)"]
Implements
IRender..::..TextMetrics(String, Font, Graphics)See Also