Constructor GlyphRunSourceSegment
GlyphRunSourceSegment(long, int, int, int, int)
Initializes a segment.
public GlyphRunSourceSegment(long nodeKey, int start, int length, int textOffset, int textLength)
Parameters
nodeKeylongThe document node's key: positive, the value of its
DomNodeId.startintThe first character in the node's text.
lengthintHow many of the node's characters.
textOffsetintThe first character in the run's text.
textLengthintHow many of the run's characters.
Exceptions
- ArgumentOutOfRangeException
A key is not positive, or a position or length is negative.