Skip to content

zeropdf v1.5.5


zeropdf / FlowSignatureFieldOptions

Interface: FlowSignatureFieldOptions

Defined in: src/types.ts:1300

Options for placing a signature form field through the flow layout API.

Extends

Properties

PropertyTypeDescriptionInherited fromDefined in
actions?FieldActionsJavaScript actions attached to this field's /AA dictionary. Each action value is raw PDF JavaScript source code.SignatureFieldOptions.actionssrc/types.ts:2866
appearance?stringCustom appearance stream content for the signature field. Example: "1 0 0 rg 0 0 100 20 re f"SignatureFieldOptions.appearancesrc/types.ts:2861
borderWidth?numberAnnotation or field border width in PDF points.SignatureFieldOptions.borderWidthsrc/types.ts:2846
description?stringField description, emitted as /TU (the field's user-facing name). Assistive technology reads it as the field's accessible name, and it satisfies the "form fields have a description" accessibility check.SignatureFieldOptions.descriptionsrc/types.ts:2836
encrypt?booleanWhether the field value follows document encryption. When false, the field value is not encrypted (useful for searchable fields). Defaults to true (follow document encryption).SignatureFieldOptions.encryptsrc/types.ts:2856
heightnumberHeight in PDF points.SignatureFieldOptions.heightsrc/types.ts:2844
margin?FlowMarginShorthandCSS-like margin shorthand in PDF points.FlowBlockSpacingOptions.marginsrc/types.ts:1137
marginBottom?numberBottom margin in PDF points.FlowBlockSpacingOptions.marginBottomsrc/types.ts:1143
marginLeft?numberLeft margin in PDF points.FlowBlockSpacingOptions.marginLeftsrc/types.ts:1145
marginRight?numberRight margin in PDF points.FlowBlockSpacingOptions.marginRightsrc/types.ts:1141
marginTop?numberTop margin in PDF points.FlowBlockSpacingOptions.marginTopsrc/types.ts:1139
readOnly?booleanWhether the form field is read-only.SignatureFieldOptions.readOnlysrc/types.ts:2848
required?booleanWhether the form field is required.SignatureFieldOptions.requiredsrc/types.ts:2850
structure?PdfStructureOptionsAdditional structure metadata for tagged PDF output.SignatureFieldOptions.structuresrc/types.ts:2870
tag?"Annot" | "Artifact"Structure tag used for tagged PDF output.SignatureFieldOptions.tagsrc/types.ts:2868
width?numberWidth override in PDF points.-src/types.ts:1307
x?numberHorizontal position override in PDF points.-src/types.ts:1303
y?numberVertical position override in PDF points.-src/types.ts:1305

Released under the ISC license.