SetAnnotOptional

Annotations and hotspot links, Content Streams and Optional Content Groups

Descrição

Links an annotation to an optional-content group or membership dictionary

Sintaxe

Delphi

Function TPDFlib.SetAnnotOptional(Index, OptionalContentGroupID: Integer): Integer;

ActiveX

Function PDFlib::SetAnnotOptional(Index As Long, OptionalContentGroupID As Long) As Long

DLL

int DLSetAnnotOptional(int InstanceID, int Index, int OptionalContentGroupID);

Parâmetros

IndexThe one-based annotation index on the selected page
OptionalContentGroupIDAn optional-content group handle or a membership handle returned by NewOptionalContentMembership

Return values

0The annotation or optional-content handle was invalid
1The annotation was linked successfully