VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / DrawingFontWrapper Class / MeasureString Methods / MeasureString(DrawingString) Method
Syntax Requirements SeeAlso
In This Topic
MeasureString(DrawingString) Method (DrawingFontWrapper)
In This Topic
Measures the specified string when drawn with this font.
Syntax
'Declaration

Public Overloads Overridable Function MeasureString( _
ByVal text
The drawing string to measure.
As DrawingString _
) As System.Drawing.SizeF
public virtual System.Drawing.SizeF MeasureString(
DrawingString text
)

Parameters

text
The drawing string to measure.

Return Value

Returns a SizeF structure that represents the size of the string specified by the text parameter as drawn with this font.
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