Muokkaa

Jaa


TextRunProperties Class

Definition

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

public ref class TextRunProperties abstract
public abstract class TextRunProperties
type TextRunProperties = class
Public MustInherit Class TextRunProperties
Inheritance
TextRunProperties

Remarks

The text layout client provides a concrete implementation of this abstract class. This enables the client to implement text run properties in a way that corresponds with the associated formatting store.

Constructors

TextRunProperties()

Initializes a new instance of the TextRunProperties class.

Properties

BackgroundBrush

Gets the brush that is used to paint the background color of the text run.

BaselineAlignment

Gets the baseline style for a text that is positioned on the vertical axis.

CultureInfo

Gets the culture information for the text run.

FontHintingEmSize

Gets the text size in points, which is then used for font hinting.

FontRenderingEmSize

Gets the text size in points for the text run.

ForegroundBrush

Gets the brush that is used to paint the foreground color of the text run.

NumberSubstitution

Gets the number substitution settings, which determines who numbers in text are displayed in different cultures.

PixelsPerDip

Gets or sets the PixelsPerDip at which the text should be rendered.

TextDecorations

Gets the collection of TextDecoration objects used for the text run.

TextEffects

Gets the collection of TextEffect objects used for the text run.

Typeface

Gets the typeface for the text run.

TypographyProperties

Gets the typography properties for the text run.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also