FlattenAnnot

Annotations and hotspot links, Page layout

Description

Flattens the specified annotation by merging the appearance stream with the selected page.

Syntax

Delphi

function TPDFlib.FlattenAnnot(Index, Options: Integer): Integer;

ActiveX

Function PDFlib::FlattenAnnot(Index As Long, Options As Long) As Long

DLL

int DLFlattenAnnot(int InstanceID, int Index, int Options);

Parameters

IndexThe index of the annotation. The first annotation on the page has an index of 1.
OptionsThis parameter is reserved for future use and should always be set to zero.

Return values

0The specified annotation could not be flattened
1Success