Table of Contents

Constructor TextBoxSegment

Namespace
DocWright.Core.Document
Assembly
DocWright.Core.dll

TextBoxSegment(TextBoxSegmentKind, string)

Initializes a segment.

public TextBoxSegment(TextBoxSegmentKind kind, string text)

Parameters

kind TextBoxSegmentKind

What the segment holds.

text string

For Text, the text. For PageNumber, the result the document last stored for the field (possibly empty): what a consumer with no pages, such as an HTML export, shows in its place.

Exceptions

ArgumentNullException

text is null.

ArgumentOutOfRangeException

kind is not a defined value.