| SignDocDocumentflattenAnnotations Method |
Flatten all annotations of the document or of a range of pages.
Flattening an annotation of a PDF document makes its appearance part of
the page and removes the selected annotation or all annotations.
This function selects all non-widget annotations on the specified pages,
ie, it does not flatten fields.
Flattening annotations breaks existing signatures. If you are flattening
annotations only for printing with PDF components that don't support
annotations, make a copy of the document, pass
Namespace:
de.softpro.signdocsdk
Assembly:
SPSignDoc_4.3_DotNetLib (in SPSignDoc_4.3_DotNetLib.dll) Version: 1.0.6773.37566
Syntaxpublic void flattenAnnotations(
int firstPage,
int lastPage,
FlattenAnnotationsFlags flags
)
Parameters
- firstPage
- Type: SystemInt32
1-based number of first page. - lastPage
- Type: SystemInt32
1-based number of last page or 0 to process
all pages to the end of the document. - flags
- Type: de.softpro.signdocsdk.Enums.EDocumentFlattenAnnotationsFlags
Flags modifying the behavior of this function, see
#ncludeHidden and KeepStructure.
Return Value
Type:
rc_ok if successful.
See Also