Table of Contents

Class TextFrame

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

A text frame (w:framePr, §17.3.1.11, Phase 169): consecutive paragraphs with the same frame are one box placed apart from the text, which flows past it. Every value is optional, as in the markup; null is the attribute's absence, and Word's default for it applies.

public sealed class TextFrame : IEquatable<TextFrame>
Inheritance
TextFrame
Implements
Inherited Members

Constructors

TextFrame()

Fields

MaxLines

The most lines a drop cap spans.

MaxMeasure

The largest size, position or space a frame takes from a document, in twips (22 in, the largest page).

Properties

AnchorLock

Gets or sets whether the frame's anchor is locked (w:anchorLock).

DropCap

Gets or sets whether the frame is a drop cap (w:dropCap).

Height

Gets or sets the height (w:h); null sizes it to its content.

HeightRule

Gets or sets how the height applies (w:hRule).

HorizontalAnchor

Gets or sets what the horizontal position is measured from (w:hAnchor; Word's default the column).

HorizontalSpace

Gets or sets the space between the frame and the text beside it (w:hSpace).

Lines

Gets or sets the lines a drop cap spans (w:lines).

VerticalAnchor

Gets or sets what the vertical position is measured from (w:vAnchor; Word's default the margin).

VerticalSpace

Gets or sets the space between the frame and the text above and below it (w:vSpace).

Width

Gets or sets the width (w:w); null sizes the frame to its text.

Wrap

Gets or sets how the text flows past the frame (w:wrap).

X

Gets or sets the horizontal position from the anchor (w:x).

XAlign

Gets or sets the horizontal alignment to the anchor (w:xAlign), which wins over X.

Y

Gets or sets the vertical position from the anchor (w:y).

YAlign

Gets or sets the vertical alignment to the anchor (w:yAlign), which wins over Y.

Methods

Clone()

Creates a copy.

Equals(TextFrame?)
Equals(object?)
GetHashCode()
MergedOnto(TextFrame)

This frame's stated values over under's: what a paragraph's frame makes of its style's, as Word merges them attribute by attribute (Phase 170).