Click or drag to resize

LineFlatten Method

Flatten/Merge the existing annotation appearances with the page content and delete this annotation from a given page. Annotation 'flattening' refers to the operation that changes active annotations (such as markup, widgets, 3D models, etc.) into a static area that is part of the PDF document, just like the other text and images in the document.

Namespace:  pdftron.PDF.Annots
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public void Flatten(
	Page page
)

Parameters

page
Type: pdftron.PDFPage
the page

Implements

IAnnotFlatten(Page)
Remarks
an alternative approach to set the annotation as read only is using
Remarks
Annot.SetFlag(Annot::e_read_only, true) method. Unlike Annot.SetFlag(...), the result of Flatten() operation can not be programatically reversed.
See Also