Frameworks
Integrations
Mendix
SharePoint
Default UI
Modular UI
AnnotationManager
Annotation Types
Customize
Version 11
Version 10
v10.12
v10.11
v10.10
v10.9
v10.8
v10.7
v10.6
v10.5
v10.4
v10.3
v10.2
v10.1
v10.0
Version 8
v8.12
v8.11
v8.10
v8.9
v8.8
v8.7
v8.6
v8.5
v8.4
v8.3
v8.2
v8.1
v8.0
Version 7
Version 6
v6.3
v6.2
v6.1
v6.0
Version 5
Version 4
Version 3
Version 2
WebViewer Server
WebViewer BIM
Annotation or form flattening refers to the operation that changes 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. By flattening and merging existing annotation appearances with page content, the original annotations are deleted from the PDF pages. Try out the flatten annotations sample in WebViewer Showcase.
Forms share a relationship with annotations because the visual display of a form is a widget annotation. The process of flattening annotations therefore can optionally flatten forms as well.
Note that it is not possible to undo the flatten operation. If you are interested in modifying annotations so they cannot be edited or deleted then you should consider setting to ReadOnly
instead of flattening them. See the ReadOnly
property on the Annotation class for more details.
Flattening annotations can be performed when getting the PDF file data or while downloading the PDF file locally. There is also the option to flatten select annotations.
Use the getFileData method and the flatten
option for the annotations to be flattened in the document output when getting the data for uploading to a server.
A flag that is only useful when the xfdfString option is used. If true all the annotations in the saved document will be flattened.
Use the downloadPdf method and the flatten
option for the annotations to be flattened in the document output when downloading the PDF locally.
Whether or not to flatten all the annotations in the downloaded document. Only useful if fullAPI is enabled and either `xfdfString` or `includeAnnotations` is used.
Use flattenAnnotations method to flatten all annotations into a document.
Use the flatten method on annotation objects to flatten select annotations into the document.
Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales