VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / DrawingFont Class / MeasureStringWidthCore Methods / MeasureStringWidthCore(String) Method
Syntax Requirements SeeAlso
In This Topic
    MeasureStringWidthCore(String) Method (DrawingFont)
    In This Topic
    Measures the width of the specified string when drawn with this font.
    Syntax
    'Declaration
    
    Protected Overloads MustOverride Function MeasureStringWidthCore( _
    ByVal text
    A string to measure.
    As System.String _
    ) As Single
    protected abstract float MeasureStringWidthCore(
    System.String text
    )
    protected: abstract float MeasureStringWidthCore(
    System.String text
    )
    protected:
    abstract float MeasureStringWidthCore(
    System.String text
    )

    Parameters

    text
    A string to measure.

    Return Value

    Width of the string.
    Requirements

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

    See Also