FormattedText Methods
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Assembly: PresentationCore (in PresentationCore.dll)
Name | Description | |
---|---|---|
![]() | BuildGeometry(Point) | Returns a Geometry object that represents the formatted text, including all glyphs and text decorations. |
![]() | BuildHighlightGeometry(Point) | Returns a Geometry object that represents the highlight bounding box of the formatted text. |
![]() | BuildHighlightGeometry(Point, Int32, Int32) | Returns a Geometry object that represents the highlight bounding box for a specified substring of the formatted text. |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetMaxTextWidths() | Retrieves an array of text widths. Each element in the array represents the maximum text width of sequential lines of text. |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | SetCulture(CultureInfo) | Sets the CultureInfo for the entire set of characters in the FormattedText object. |
![]() | SetCulture(CultureInfo, Int32, Int32) | Sets the CultureInfo for a specified subset of characters in the FormattedText object. |
![]() | SetFontFamily(FontFamily) | Sets the font family for a FormattedText object. |
![]() | SetFontFamily(FontFamily, Int32, Int32) | Sets the font family for a specified subset of characters in the FormattedText object. |
![]() | SetFontFamily(String) | Sets the font family for the entire set of characters in the FormattedText object. |
![]() | SetFontFamily(String, Int32, Int32) | Sets the font family for a specified subset of characters in the FormattedText object. |
![]() | SetFontSize(Double) | Sets the font size for the entire set of characters in the FormattedText object. |
![]() | SetFontSize(Double, Int32, Int32) | Sets the font size for a specified subset of characters in the FormattedText object. |
![]() | SetFontStretch(FontStretch) | Sets the font stretch value for the entire set of characters in the FormattedText object. |
![]() | SetFontStretch(FontStretch, Int32, Int32) | Sets the font stretch value for a specified subset of characters in the FormattedText object. |
![]() | SetFontStyle(FontStyle) | Sets the font style for the entire set of characters in the FormattedText object. |
![]() | SetFontStyle(FontStyle, Int32, Int32) | Sets the font style for a specified subset of characters in the FormattedText object. |
![]() | SetFontTypeface(Typeface) | Sets the font typeface for the entire set of characters in the FormattedText object. |
![]() | SetFontTypeface(Typeface, Int32, Int32) | Sets the font typeface for a specified subset of characters in the FormattedText object. |
![]() | SetFontWeight(FontWeight) | Sets the font weight for the entire set of characters in the FormattedText object. |
![]() | SetFontWeight(FontWeight, Int32, Int32) | Changes the FontWeight for specified text within a FormattedText object. |
![]() | SetForegroundBrush(Brush) | Changes the foreground Brush for an entire FormattedText object. |
![]() | SetForegroundBrush(Brush, Int32, Int32) | Changes the foreground Brush for specified text within a FormattedText object. |
![]() | SetMaxTextWidths(Double[]) | Sets an array of maximum text widths within the FormattedText, on a per-line basis. Each element in the array represents the maximum text width of sequential lines of text. |
![]() | SetNumberSubstitution(NumberSubstitution) | Sets the number substitution behavior for the entire set of characters in the FormattedText object. |
![]() | SetNumberSubstitution(NumberSubstitution, Int32, Int32) | Sets the number substitution behavior for specified text within a FormattedText object. |
![]() | SetTextDecorations(TextDecorationCollection) | Sets the TextDecorationCollection for the entire set of characters in the FormattedText object. |
![]() | SetTextDecorations(TextDecorationCollection, Int32, Int32) | Sets the TextDecorationCollection for specified text within a FormattedText object. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |