This topic has not yet been rated - Rate this topic

TextRunTypographyProperties Class

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

System.Object
  System.Windows.Media.TextFormatting.TextRunTypographyProperties

Namespace:  System.Windows.Media.TextFormatting
Assembly:  PresentationCore (in PresentationCore.dll)
public abstract class TextRunTypographyProperties

The TextRunTypographyProperties type exposes the following members.

  Name Description
Protected method TextRunTypographyProperties Initializes a new instance of the TextRunTypographyProperties class.
Top
  Name Description
Public property AnnotationAlternates Gets the index of an alternate annotation form.
Public property Capitals Gets a value that indicates the capital form of the selected font.
Public property CapitalSpacing Gets a value that indicates whether inter-glyph spacing for all-capital text is globally adjusted to improve readability.
Public property CaseSensitiveForms Gets a value that indicates whether glyphs adjust their vertical position to better align with uppercase glyphs.
Public property ContextualAlternates Gets a value that indicates whether custom glyph forms can be used based upon the context of the text being rendered.
Public property ContextualLigatures Gets a value that indicates whether contextual ligatures are enabled.
Public property ContextualSwashes Gets a value that specifies the index of a contextual swashes form.
Public property DiscretionaryLigatures Gets a value that indicates whether discretionary ligatures are enabled.
Public property EastAsianExpertForms Gets a value that indicates whether the standard Japanese font forms have been replaced with the corresponding preferred typographic forms.
Public property EastAsianLanguage Gets a value that indicates the version of glyphs to be used for a specific writing system or language.
Public property EastAsianWidths Gets a value that indicates the proportional width to be used for Latin characters in an East Asian font.
Public property Fraction Gets a value that indicates the fraction style.
Public property HistoricalForms Gets a value that indicates whether historical forms are enabled.
Public property HistoricalLigatures Gets a value that indicates whether historical ligatures are enabled.
Public property Kerning Gets a value that indicates whether kerning is enabled.
Public property MathematicalGreek Gets a value that indicates whether standard typographic font forms of Greek glyphs have been replaced with corresponding font forms commonly used in mathematical notation.
Public property NumeralAlignment Gets the alignment of widths when using numerals.
Public property NumeralStyle Gets a value that indicates the set of glyphs that are used to render numeric alternate font forms.
Public property SlashedZero Gets a value that indicates whether a nominal zero font form should be replaced with a slashed zero.
Public property StandardLigatures Gets a value that indicates whether standard ligatures are enabled.
Public property StandardSwashes Gets the index of a standard swashes form.
Public property StylisticAlternates Gets the index of a stylistic alternates form.
Public property StylisticSet1 Gets a value that indicates whether a stylistic set of a font form is enabled.
Public property StylisticSet10 Gets a value that indicates whether a stylistic set of a font form is enabled.
Public property StylisticSet11 Gets a value that indicates whether a stylistic set of a font form is enabled.
Public property StylisticSet12 Gets a value that indicates whether a stylistic set of a font form is enabled.
Public property StylisticSet13 Gets a value that indicates whether a stylistic set of a font form is enabled.
Public property StylisticSet14 Gets a value that indicates whether a stylistic set of a font form is enabled.
Public property StylisticSet15 Gets a value that indicates whether a stylistic set of a font form is enabled.
Public property StylisticSet16 Gets a value that indicates whether a stylistic set of a font form is enabled.
Public property StylisticSet17 Gets a value that indicates whether a stylistic set of a font form is enabled.
Public property StylisticSet18 Gets a value that indicates whether a stylistic set of a font form is enabled.
Public property StylisticSet19 Gets a value that indicates whether a stylistic set of a font form is enabled.
Public property StylisticSet2 Gets a value that indicates whether a stylistic set of a font form is enabled.
Public property StylisticSet20 Gets a value that indicates whether a stylistic set of a font form is enabled.
Public property StylisticSet3 Gets a value that indicates whether a stylistic set of a font form is enabled.
Public property StylisticSet4 Gets a value that indicates whether a stylistic set of a font form is enabled.
Public property StylisticSet5 Gets a value that indicates whether a stylistic set of a font form is enabled.
Public property StylisticSet6 Gets a value that indicates whether a stylistic set of a font form is enabled.
Public property StylisticSet7 Gets a value that indicates whether a stylistic set of a font form is enabled.
Public property StylisticSet8 Gets a value that indicates whether a stylistic set of a font form is enabled.
Public property StylisticSet9 Gets a value that indicates whether a stylistic set of a font form is enabled.
Public property Variants Gets a value that indicates a variation of the standard typographic form to be used.
Top
  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnPropertiesChanged Corrects internal state for a TextRunTypographyProperties derived class whenever any TextRunTypographyProperties property changes its value.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

The text layout client uses the TextRunTypographyProperties class to generate a set of features that are processed by the OpenType layout engine.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ