GetAnnotLineEndings
Annotations and hotspot links
Description
Reads the typed start and end styles of a Line annotation
Absent /LE entries are reported as alesNone at both ends
Syntax
Delphi
Function GetAnnotLineEndings(Index: Integer; Out StartStyle, EndStyle: TPDFlibAnnotLineEndingStyle): Integer;Parameters
| Index | One-based annotation index on the currently selected page; the annotation must be a Line annotation |
|---|---|
| StartStyle | Receives the start ending style; alesNone when /LE is absent |
| EndStyle | Receives the end ending style; alesNone when /LE is absent |
Return values
| 1 | Both styles were read, including an absent /LE entry, which reports alesNone at both ends |
|---|---|
| 0 | No document is loaded, Index does not address a Line annotation, or /LE is not a two-element name array; both outputs stay at alesNone |