SetAnnotLineEndings
Annotations and hotspot links
Description
Writes typed start and end styles to a Line annotation
Rejects non-Line annotations and raises the document minimum version to PDF 1.4
Syntax
Delphi
Function SetAnnotLineEndings(Index: Integer; StartStyle, EndStyle: TPDFlibAnnotLineEndingStyle): Integer;Parameters
| Index | One-based annotation index on the currently selected page; the annotation must be a Line annotation |
|---|---|
| StartStyle | Start ending style: alesNone, alesSquare, alesCircle, alesDiamond, alesOpenArrow, alesClosedArrow, alesButt, alesROpenArrow, alesRClosedArrow or alesSlash |
| EndStyle | End ending style from the same set of values |
Return values
| 1 | /LE was written and the document minimum version was raised to PDF 1.4 |
|---|---|
| 0 | No document is loaded, Index does not address a Line annotation, or a style value is outside the enumeration |