VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI Namespace / ThumbnailImageItemCaption Class / CreateFormattedText(String,FontFamily,Double,Rect,Point) Method
Syntax Requirements SeeAlso
In This Topic
    CreateFormattedText(String,FontFamily,Double,Rect,Point) Method (ThumbnailImageItemCaption)
    In This Topic
    Creates the formatted text.
    Syntax
    'Declaration
    
    Protected Overridable Function CreateFormattedText( _
    ByVal text
    The text.
    As System.String, _
    ByVal fontFamily
    The font family.
    As System.Windows.Media.FontFamily, _
    ByVal fontSize
    Size of the font.
    As Double, _
    ByVal rect
    The rectangle of thumbnail background.
    As System.Windows.Rect, _
    ByRef location
    Location of formatted text.
    As System.Windows.Point _
    ) As System.Windows.Media.FormattedText
    protected virtual System.Windows.Media.FormattedText CreateFormattedText(
    System.String text,
    System.Windows.Media.FontFamily fontFamily,
    double fontSize,
    System.Windows.Rect rect,
    out System.Windows.Point location
    )
    protected: virtual System.Windows.Media.FormattedText* CreateFormattedText(
    System.String text,
    System.Windows.Media.FontFamily* fontFamily,
    double fontSize,
    System.Windows.Rect* rect,
    [PARAMFLAG::Out] System.Windows.Point location
    )
    protected:
    virtual System.Windows.Media.FormattedText^ CreateFormattedText(
    System.String text,
    System.Windows.Media.FontFamily^ fontFamily,
    double fontSize,
    System.Windows.Rect^ rect,
    [Out] System.Windows.Point location
    )

    Parameters

    text
    The text.
    fontFamily
    The font family.
    fontSize
    Size of the font.
    rect
    The rectangle of thumbnail background.
    location
    Location of formatted text.

    Return Value

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