VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / DrawingEngine Class / MeasureFormattedText(FormattedText) Method
Syntax Requirements SeeAlso
In This Topic
    MeasureFormattedText(FormattedText) Method (DrawingEngine)
    In This Topic
    Measures the specified text when text is drawn with this drawing engine.
    Syntax
    'Declaration
    
    Public Function MeasureFormattedText( _
    ByVal formattedText
    A formatted text to measure.
    As FormattedText _
    ) As System.Drawing.SizeF
    public System.Drawing.SizeF MeasureFormattedText(
    FormattedText formattedText
    )
    public: System.Drawing.SizeF* MeasureFormattedText(
    FormattedText* formattedText
    )
    public:
    System.Drawing.SizeF^ MeasureFormattedText(
    FormattedText^ formattedText
    )

    Parameters

    formattedText
    A formatted text to measure.

    Return Value

    The text 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