Click or drag to resize

GraphicsIHandlerMeasureString Method

Measures the string with the given font

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
SizeF MeasureString(
	Font font,
	string text
)

Parameters

font
Type: Eto.DrawingFont
Font to measure with
text
Type: SystemString
Text string to measure

Return Value

Type: SizeF
Size representing the dimensions of the entire text would take to draw given the specified font
See Also