Skybound Rebar

ControlRenderer.MeasureText Method

Provides the size, in pixels, of the specified text when drawn with the specified font and render flags.

Overload List

Provides the size, in pixels, of the specified text when drawn with the specified font and render flags.

public static Size MeasureText(string,Font,TextRenderFlags);

Provides the size, in pixels, of the specified text when drawn with the specified font and render flags, using the specified size to create the initial bounding rectangle for the text.

public static Size MeasureText(string,Font,Size,TextRenderFlags);

See Also

ControlRenderer Class | Skybound.Rebar.Rendering Namespace