System.Windows.Media.TextFormatting Namespace

Provides types that control formatting of text, typically at a lower level than control-based text presentation or the text object model.

Classes

CultureSpecificCharacterBufferRange

Represents a range of characters that are associated with a culture.

IndexedGlyphRun

Allows text engine clients to map a text source character index to the corresponding GlyphRun.

TextBounds

Represents the bounding rectangle of a range of characters.

TextCharacters

Represents a collection of character glyphs from distinct physical typefaces.

TextCollapsedRange

Represents the range of characters and its width measurement for collapsed text within a line.

TextCollapsingProperties

Represents the characteristics of collapsed text.

TextEmbeddedObject

Defines a type of text content in which measuring, hit testing and drawing of the entire content is done in whole.

TextEmbeddedObjectMetrics

Specifies properties for a TextEmbeddedObject.

TextEndOfLine

Defines a specialized text run that is used to mark the end of a line.

TextEndOfParagraph

Defines a specialized text run that is used to mark the end of a paragraph.

TextEndOfSegment

Defines a specialized text run that is used to mark the end of a segment.

TextFormatter

Provides services for formatting text and breaking text lines using a custom text layout client.

TextHidden

Defines a specialized text run that is used to mark a range of hidden characters.

TextLine

Provides an abstract class for supporting formatting services to a line of text.

TextLineBreak

Specifies text properties and state at the point where text is broken by the line breaking process.

TextMarkerProperties

Represents an abstract class for defining text markers.

TextModifier

Represents a specialized text run that can be used to modify properties of text runs within its scope.

TextParagraphProperties

Provides a set of properties, such as flow direction, alignment, or indentation, that can be applied to a paragraph. This is an abstract class.

TextRun

Represents a sequence of characters that share a single property set.

TextRunBounds

Represents the bounding rectangle of a text run.

TextRunCache

Provides caching services to the TextFormatter object in order to improve performance.

TextRunProperties

Provides a set of properties, such as typeface or foreground brush, that can be applied to a TextRun object. This is an abstract class.

TextRunTypographyProperties

Provides an abstract class for supporting typography properties for TextRun objects.

TextSimpleMarkerProperties

Provides for a generic implementation of text marker properties.

TextSource

Provides an abstract class for specifying character data and formatting properties to be used by the TextFormatter object.

TextSpan<T>

Represents a generic class that allows a simple pairing of an object of type T and a specified run length.

TextTabProperties

Specifies properties of user-defined tabs.

TextTrailingCharacterEllipsis

Defines collapsed text properties for collapsing a whole line toward the end at character granularity, and with ellipsis being the collapsed text symbol.

TextTrailingWordEllipsis

Defines collapsed text properties for collapsing a whole line toward the end at word granularity, and with ellipsis being the collapsed text symbol.

Structs

CharacterBufferRange

Describes a string of characters.

CharacterBufferReference

Describes a character buffer for a text run.

CharacterHit

Represents information about a character hit within a glyph run.

MinMaxParagraphWidth

Represents the smallest and largest possible paragraph width that can fully contain the specified text content.

Enums

InvertAxes

Indicate the inversion of horizontal and vertical axes of the drawing surface.

TextCollapsingStyle

Specifies the style of collapsed text.

TextTabAlignment

Describes how text is aligned at a tab location.