'Declaration Protected Overridable Function CreateFormattedText( _
ByVal textThe text.As System.String, _
ByVal fontFamilyThe font family.As System.Windows.Media.FontFamily, _
ByVal fontSizeSize of the font.As Double, _
ByVal rectThe rectangle of thumbnail background.As System.Windows.Rect, _
ByRef locationLocation 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.