ImageGear v26.0 - Updated
FlattenFormFields Method




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDFDocument Class : FlattenFormFields Method
If true, only the field's widget annotations with the PRINT flag set will be flattened. Others will be removed without flattening. If false, all the field's widget annotations with be flattened, unless its NOVIEW flag is set. These will be removed without being flattened.
Flattens and removes all acroform fields and the acroform itself.
Syntax
'Declaration
 
Public Sub FlattenFormFields( _
   ByVal forPrinter As Boolean _
) 
'Usage
 
Dim instance As ImGearPDFDocument
Dim forPrinter As Boolean
 
instance.FlattenFormFields(forPrinter)
public void FlattenFormFields( 
   bool forPrinter
)
public: void FlattenFormFields( 
   bool forPrinter
) 
public:
void FlattenFormFields( 
   bool forPrinter
) 

Parameters

forPrinter
If true, only the field's widget annotations with the PRINT flag set will be flattened. Others will be removed without flattening. If false, all the field's widget annotations with be flattened, unless its NOVIEW flag is set. These will be removed without being flattened.
Remarks
Note that this function will also will remove any XFA data, if present.
See Also

Reference

ImGearPDFDocument Class
ImGearPDFDocument Members

Is this page helpful?
Yes No
Thanks for your feedback.