VintaSoft Barcode .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Barcode.SkiaSharp.TextRendering Namespace / SkiaSharpTextFont Class / MeasureString(String) Method
Syntax Requirements SeeAlso
In This Topic
    MeasureString(String) Method (SkiaSharpTextFont)
    In This Topic
    Measures the specified string when drawn with this font.
    Syntax
    'Declaration
    
    Public Overrides Function MeasureString( _
    ByVal text
    A text string to measure.
    As String _
    ) As Vintasoft.Primitives.VintasoftSizeF
    public override Vintasoft.Primitives.VintasoftSizeF MeasureString(
    string text
    )
    public: Vintasoft.Primitives.VintasoftSizeF MeasureString(
    string* text
    ); override
    public:
    Vintasoft.Primitives.VintasoftSizeF MeasureString(
    string^ text
    ); override

    Parameters

    text
    A text string to measure.

    Return Value

    Returns a VintasoftSizeF structure that represents the size of the string specified by the text parameter as drawn with this font.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7

    See Also