Table of Contents

Constructor GlyphRunSourceSegment

Namespace
DocWright.Core.Rendering
Assembly
DocWright.Core.dll

GlyphRunSourceSegment(long, int, int, int, int)

Initializes a segment.

public GlyphRunSourceSegment(long nodeKey, int start, int length, int textOffset, int textLength)

Parameters

nodeKey long

The document node's key: positive, the value of its DomNodeId.

start int

The first character in the node's text.

length int

How many of the node's characters.

textOffset int

The first character in the run's text.

textLength int

How many of the run's characters.

Exceptions

ArgumentOutOfRangeException

A key is not positive, or a position or length is negative.