FlattenAllFormFields
Version history
This function was introduced in Quick PDF Library version 13.12.
Description
This function is similar to FlattenFormField, but it flattens all formfields including parent fields. Call this function if it is needed to flatten all fields, first the child fields are flattened and after that is finished all parent fields are flattened too.
Use this function to draw the visual appearance onto the page it is associated with. The form fields will then be removed from the document and only their appearances will remain - they will no longer be an interactive fields.
Syntax
Delphi
function TDebenuPDFLibrary1811.FlattenAllFormFields(Options: Integer): Integer;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::FlattenAllFormFields(
Options As Long) As Long
DLL
int DPLFlattenAllFormFields(int InstanceID, int Options)
Parameters
Options | This parameter is reserved for future use and should always be set to zero. |
Return values
0 | Not all form fields were flattened. |
1 | All form fields were flattened successfully. |