THotPDF.SetLoadedFormFieldFlags Method

Replaces the complete /Ff bit mask of a zero-based loaded field

Declaration

procedure SetLoadedFormFieldFlags(FieldIndex, AFlags: Integer);

Preserves all 32 bits of AFlags, including high bits together with ReadOnly, Required and NoExport, through saving and reloading

The public Integer parameter is unchanged; a mask with bit 31 set uses the corresponding negative signed representation and is written as a local field override

See AcroForm field flag precision for signed mask values, inheritance and native builder behavior

This raw setter edits the in-memory field dictionary without authorizing publication under a signed policy; default authenticated saving rejects prohibited field metadata changes, and caller-owned edits require explicit rollback when they should be discarded

See signed field metadata classification for existing signature fields and widgets that inherit their field type

Usage notes

Loaded form field editing