THotPDF.AddLoadedLineAnnotation Method

Adds loaded line annotation data to the document creation workflow. The call creates or attaches the PDF-side object needed by later output, validation, signing, or page rendering steps

Declaration

procedure AddLoadedLineAnnotation(PageIndex: Integer; X1, Y1, X2, Y2: Single; LStartX, LStartY, LEndX, LEndY: Single; const AContents: AnsiString);

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based index or object index used to select an existing item
X1Input used by AddLoadedLineAnnotation
Y1Input used by AddLoadedLineAnnotation
X2Input used by AddLoadedLineAnnotation
Y2Input used by AddLoadedLineAnnotation
LStartXInput used by AddLoadedLineAnnotation
LStartYInput used by AddLoadedLineAnnotation
LEndXInput used by AddLoadedLineAnnotation
LEndYInput used by AddLoadedLineAnnotation
AContentsHuman-readable text stored in the PDF object, action, annotation, or structure element

Return value

This member does not return a value

Usage notes

Related APIs