Skip to content

ITextElementGenerator interface

public interface ITextElementGenerator
name description
ConstructElement(…) The element at offset, or null to decline. A DocumentLength reaching past the line’s end makes the line cover the logical lines up to it; the lines it swallows must then be collapsed through an ITextLineCollapser, or they are laid out a second time on their own.
GetFirstInterestedOffset(…) First document offset at or after startOffset this generator wants an element at, or -1 for none. Must not return an offset before startOffset.