Click or drag to resize

AccurateTextMeasureString(Graphics, String, Font, Size, 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,
	Size proposedSize,
	StringFormat format,
	bool compatiblePadding
)

Parameters

g  Graphics
text  String
font  Font
proposedSize  Size
format  StringFormat
compatiblePadding  Boolean

Return Value

Size
See Also