FormattedText Methods

 

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

NameDescription
System_CAPS_pubmethodBuildGeometry(Point)

Returns a Geometry object that represents the formatted text, including all glyphs and text decorations.

System_CAPS_pubmethodBuildHighlightGeometry(Point)

Returns a Geometry object that represents the highlight bounding box of the formatted text.

System_CAPS_pubmethodBuildHighlightGeometry(Point, Int32, Int32)

Returns a Geometry object that represents the highlight bounding box for a specified substring of the formatted text.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetMaxTextWidths()

Retrieves an array of text widths. Each element in the array represents the maximum text width of sequential lines of text.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSetCulture(CultureInfo)

Sets the CultureInfo for the entire set of characters in the FormattedText object.

System_CAPS_pubmethodSetCulture(CultureInfo, Int32, Int32)

Sets the CultureInfo for a specified subset of characters in the FormattedText object.

System_CAPS_pubmethodSetFontFamily(FontFamily)

Sets the font family for a FormattedText object.

System_CAPS_pubmethodSetFontFamily(FontFamily, Int32, Int32)

Sets the font family for a specified subset of characters in the FormattedText object.

System_CAPS_pubmethodSetFontFamily(String)

Sets the font family for the entire set of characters in the FormattedText object.

System_CAPS_pubmethodSetFontFamily(String, Int32, Int32)

Sets the font family for a specified subset of characters in the FormattedText object.

System_CAPS_pubmethodSetFontSize(Double)

Sets the font size for the entire set of characters in the FormattedText object.

System_CAPS_pubmethodSetFontSize(Double, Int32, Int32)

Sets the font size for a specified subset of characters in the FormattedText object.

System_CAPS_pubmethodSetFontStretch(FontStretch)

Sets the font stretch value for the entire set of characters in the FormattedText object.

System_CAPS_pubmethodSetFontStretch(FontStretch, Int32, Int32)

Sets the font stretch value for a specified subset of characters in the FormattedText object.

System_CAPS_pubmethodSetFontStyle(FontStyle)

Sets the font style for the entire set of characters in the FormattedText object.

System_CAPS_pubmethodSetFontStyle(FontStyle, Int32, Int32)

Sets the font style for a specified subset of characters in the FormattedText object.

System_CAPS_pubmethodSetFontTypeface(Typeface)

Sets the font typeface for the entire set of characters in the FormattedText object.

System_CAPS_pubmethodSetFontTypeface(Typeface, Int32, Int32)

Sets the font typeface for a specified subset of characters in the FormattedText object.

System_CAPS_pubmethodSetFontWeight(FontWeight)

Sets the font weight for the entire set of characters in the FormattedText object.

System_CAPS_pubmethodSetFontWeight(FontWeight, Int32, Int32)

Changes the FontWeight for specified text within a FormattedText object.

System_CAPS_pubmethodSetForegroundBrush(Brush)

Changes the foreground Brush for an entire FormattedText object.

System_CAPS_pubmethodSetForegroundBrush(Brush, Int32, Int32)

Changes the foreground Brush for specified text within a FormattedText object.

System_CAPS_pubmethodSetMaxTextWidths(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.

System_CAPS_pubmethodSetNumberSubstitution(NumberSubstitution)

Sets the number substitution behavior for the entire set of characters in the FormattedText object.

System_CAPS_pubmethodSetNumberSubstitution(NumberSubstitution, Int32, Int32)

Sets the number substitution behavior for specified text within a FormattedText object.

System_CAPS_pubmethodSetTextDecorations(TextDecorationCollection)

Sets the TextDecorationCollection for the entire set of characters in the FormattedText object.

System_CAPS_pubmethodSetTextDecorations(TextDecorationCollection, Int32, Int32)

Sets the TextDecorationCollection for specified text within a FormattedText object.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Return to top
Show: