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

    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