In This Topic
Flattens and removes all AcroForm fields and the AcroForm itself.
Syntax
'Declaration
Public Sub FlattenFormFields( _
ByVal As Boolean _
)
'Usage
Dim instance As ImGearPDFDocument
Dim forPrinter As Boolean
instance.FlattenFormFields(forPrinter)
public void FlattenFormFields(
bool
)
public: void FlattenFormFields(
bool
)
public:
void FlattenFormFields(
bool
)
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.
See Also