VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / DrawingFontWithFallback Class / MeasureString Methods / MeasureString(String) Method
Syntax Requirements SeeAlso
In This Topic
MeasureString(String) Method (DrawingFontWithFallback)
In This Topic
Measures the specified string if string is drawn using this font.
Syntax
'Declaration

Public Overloads Overrides Function MeasureString( _
ByVal text
A text of string to measure.
As System.String _
) As System.Drawing.SizeF
public override System.Drawing.SizeF MeasureString(
System.String text
)

Parameters

text
A text of string to measure.

Return Value

Returns a SizeF structure that represents the string size.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also