Redigera

Dela via


TextParagraphProperties Class

Definition

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

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

Remarks

To create a text layout application that uses the services of the TextFormatter object, you must create a derived class that implements the methods of the TextParagraphProperties abstract class.

Constructors

TextParagraphProperties()

Initializes a new instance of the TextParagraphProperties class.

Properties

AlwaysCollapsible

Gets a value that indicates whether a formatted line can always be collapsed.

DefaultIncrementalTab

Gets the default incremental tab distance.

DefaultTextRunProperties

Gets the default text run properties, such as typeface or foreground brush.

FirstLineInParagraph

Gets a value that indicates whether the text run is the first line of the paragraph.

FlowDirection

Gets a value that specifies whether the primary text advance direction shall be left-to-right, or right-to-left.

Indent

Gets the amount of line indentation.

LineHeight

Gets the height of a line of text.

ParagraphIndent

Gets the amount of the paragraph indentation.

Tabs

Gets a collection of tab definitions.

TextAlignment

Gets a value that describes how an inline content of a block is aligned.

TextDecorations

Gets the collection of TextDecoration objects.

TextMarkerProperties

Gets a value that specifies marker characteristics of the first line in the paragraph.

TextWrapping

Gets a value that controls whether text wraps when it reaches the flow edge of its containing block box.

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