Class TextBoxSegment
One piece of a positioned text box's content: a run of text, or a page number.
public sealed class TextBoxSegment
- Inheritance
-
TextBoxSegment
- Inherited Members
Remarks
A positioned text box is drawn as its text, so its content is a sequence of these
rather than a tree of paragraphs; paragraphs are separated by '\n' inside the
text. Before Phase 72 the same content travelled as one string, with each page number
spelled as a marker inside it, which a document could also contain as text.
Immutable, so the same segment can be shared by a document and its copies.
Constructors
- TextBoxSegment(TextBoxSegmentKind, string)
Initializes a segment.
Properties
- Kind
Gets what the segment holds.
- Text
Gets the text, or for a page number the result the document last stored for it.