FlattenAnnotsOnPageRange

Page manipulation

Description

Flattens every annotation of a page range into content

Syntax

Delphi

Function FlattenAnnotsOnPageRange(Const PageRange: WideString): Integer;

Parameters

PageRangePages to process; an empty range selects every page and the odd/even/first/last keywords apply

Return value

The number of flattened annotations

Remarks

Each annotation appearance is baked into the page content stream and the annotation object is removed, preserving the visual result

See also

FlattenAnnot, FlattenFormFieldsOnPageRange