Constructor TextBoxSegment
TextBoxSegment(TextBoxSegmentKind, string)
Initializes a segment.
public TextBoxSegment(TextBoxSegmentKind kind, string text)
Parameters
kindTextBoxSegmentKindWhat the segment holds.
textstringFor 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
textis null.- ArgumentOutOfRangeException
kindis not a defined value.