Click or drag to resize

AccurateTextMeasureString(Graphics, String, Font, Int32, StringFormat, Boolean) Method


Namespace: Internal.ComponentFactory.Krypton.Toolkit
Assembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static Size MeasureString(
	Graphics g,
	string text,
	Font font,
	int width,
	StringFormat format,
	bool compatiblePadding
)

Parameters

g  Graphics
text  String
font  Font
width  Int32
format  StringFormat
compatiblePadding  Boolean

Return Value

Size
See Also