THotPDF.FlattenLoadedFormFields Method

Paints selected loaded fields into static page content and removes only their field trees and widget annotations

Declaration

function FlattenLoadedFormFields(const FieldNames: array of AnsiString;
  EnforceSignaturePermissions: Boolean = True): Integer;

Parameters

NamePurpose
FieldNamesFully qualified field names to flatten, or an empty array for every field
EnforceSignaturePermissionsRefuse DocMDP and FieldMDP policy violations before modification

Return value

Returns the number of matching fields flattened

Usage notes

Related APIs