# Interface: com.pnfsoftware.jeb.core.output.text.IAnchor

Definition of an anchor. An anchor is the first line of a text document chunk. 

 Anchor identifiers start at 0. The line index of an anchor is always relative to an [ITextDocumentPart](ITextDocumentPart), not an [ITextDocument](ITextDocument).

## Method: getIdentifier
- return type: `long`

Description: Get the anchor identifier. The identifier is a zero\+ index number.
return: the identifier

## Method: getLineIndex
- return type: `int`

Description: Get the line index, within the document part, of the first line \(the anchor line\) of the anchored chunk.
return: the identifier

