Click or drag to resize
SignDocDocumentflattenFields Method
Flatten all fields of the document or of a range of pages. Flattening a field of a PDF document makes its appearance part of the page and removes the selected widget or all widgets; the field will be removed when all its widgets have been flattened. This function selects all widgets on the specified pages. Flattening unsigned signature fields does not work correctly. Flattening fields breaks existing signatures. If you are flattening fields only for printing with PDF components that don't support annotations, make a copy of the document, pass
Enums.EDocument.ShootInFootFlag.AllowBreakingPermissions | Enums.EDocument.ShootInFootFlag.AllowBreakingSignatures
to setShootInFoot(), flatten the fields, print the document, and throw it away.

Namespace:  de.softpro.signdocsdk
Assembly:  SPSignDoc_4.3_DotNetLib (in SPSignDoc_4.3_DotNetLib.dll) Version: 1.0.6773.37566
Syntax
C#
public void flattenFields(
	int firstPage,
	int lastPage,
	FlattenFieldsFlag 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.EDocumentFlattenFieldsFlag
Flags modifying the behavior of this function, must be 0.
See Also