Interface FlattenAnnotationsOperation
Interface
Properties
annotationIds
Optional
string[]
noteAnnotationOpacity
Optional
number
pageIndexes
Optional
number[]
targetLayerId
OptionalStandalone
number
When set, the flattened annotation content is placed into the OCG layer identified by this ID instead of directly into the page content. The layer must already exist in the document (see Instance#createLayer).
"flattenAnnotations"
Flattens the annotations of the specified pages, or of all pages if none is specified.
Flattening and importing a document where
treatImportedDocumentAsOnePagein the same operations batch is not supported and will raise an error.