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 LongDLL
int DLFlattenAnnot(int InstanceID, int Index, int Options);Parameters
| Index | The index of the annotation. The first annotation on the page has an index of 1. |
|---|---|
| Options | This parameter is reserved for future use and should always be set to zero. |
Return values
| 0 | The specified annotation could not be flattened |
|---|---|
| 1 | Success |