UpdateAndFlattenFormField
Version history
This function was introduced in Quick PDF Library version 9.11.
Description
Use this function to draw the visual appearance onto the page it is associated with. The form field will then be removed from the document and only it's appearance will remain - it will no longer be an interactive field.
If the field is flattened successfully the field index of subsequent form fields will be decreased by 1.
The appearance stream of the form field will be generated before the form field is flattened. This behaviour is the same as the FlattenFormField function before version 9.11.
Syntax
Delphi
function TDebenuPDFLibrary1811.UpdateAndFlattenFormField(Index: Integer): Integer;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::UpdateAndFlattenFormField(
Index As Long) As Long
DLL
int DPLUpdateAndFlattenFormField(int InstanceID, int Index)
Parameters
Index | The index of the form field to work with. The first form field has an index of 1. |
Return values
0 | The form field could not be found or it was not possible to flatten the form field |
1 | The form field was flattened successfully |