Measures the specified string when drawn with the specified Font.

Namespace: Dapfor.Net.Ui
Assembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)

Syntax

C#
Size TextMetrics(
	string text,
	Font font,
	Graphics graphics
)
Visual Basic
Function TextMetrics ( 
	text As String,
	font As Font,
	graphics As Graphics
) As Size
Visual C++
Size TextMetrics(
	String^ text, 
	Font^ font, 
	Graphics^ graphics
)
F#
abstract 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.IRender.TextMetrics(System.String,System.Drawing.Font,System.Drawing.Graphics)"]

See Also