Table of Contents

Interface ITextFormat

Namespace
PaintDotNet.DirectWrite
Assembly
PaintDotNet.Windows.dll

Describes the font and paragraph properties used to format text, and describes locale information.

This corresponds to the following DirectWrite interfaces: IDWriteTextFormat, IDWriteTextFormat1, IDWriteTextFormat2, IDWriteTextFormat3

public interface ITextFormat : IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inherited Members
Extension Methods

Properties

FlowDirection

Gets or sets the direction that text lines flow.

FontCollection

Gets or set the current font collection.

FontFamilyName

Gets the font family name.

FontSize

Gets the font size in DIP units.

FontStretch

Gets the font stretch of the text.

FontStyle

Gets the font style of the text.

FontWeight

Gets the font weight of the text.

IncrementalTabStop

Gets or sets the incremental tab stop position.

LastLineWrapping

Gets or sets the wrapping mode of the last line.

LineSpacing

Gets or sets the line spacing adjustment for a multiline text paragraph.

LocaleName

Gets the locale name.

OpticalAlignment

Gets or sets the optical margin alignment for the text format.

ParagraphAlignment

Gets or sets the alignment option of a paragraph which is relative to the top and bottom edges of a layout box.

ReadingDirection

Gets or sets the current reading direction for text in a paragraph.

TextAlignment

Gets or sets the alignment option of text relative to the layout box's leading and trailing edge.

Trimming

Gets or sets the trimming parameters for text that overflows the layout box.

VerticalGlyphOrientation

Gets or sets the preferred orientation of glyphs when using a vertical reading direction.

WordWrapping

Gets or sets the word wrapping option.

Methods

GetTrimmingSign()

Gets the trimming sign inline object.

SetTrimmingSign(IInlineObject?)

Sets the trimming sign inline object.