Skip to content

zeropdf v1.3.0


zeropdf / FlowChoiceFieldOptions

Interface: FlowChoiceFieldOptions

Defined in: src/types.ts:1266

Options for placing a choice 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.ChoiceFieldOptions.actionssrc/types.ts:2666
appearance?stringCustom appearance stream content for the choice field. Example: "1 0 0 rg 0 0 100 20 re f"ChoiceFieldOptions.appearancesrc/types.ts:2661
borderWidth?numberAnnotation or field border width in PDF points.ChoiceFieldOptions.borderWidthsrc/types.ts:2638
color?ColorInputColor used for drawing, text, or highlighting.ChoiceFieldOptions.colorsrc/types.ts:2636
editable?booleanWhen true, the combo box allows user to type custom values. When false (default), combo box is select-only. Has no effect on list boxes.ChoiceFieldOptions.editablesrc/types.ts:2650
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).ChoiceFieldOptions.encryptsrc/types.ts:2656
font?FontNameFont used to render text.ChoiceFieldOptions.fontsrc/types.ts:2632
fontSize?numberFont size in PDF points.ChoiceFieldOptions.fontSizesrc/types.ts:2634
heightnumberHeight in PDF points.ChoiceFieldOptions.heightsrc/types.ts:2626
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
mode?ChoiceFieldModeChoice field display mode.ChoiceFieldOptions.modesrc/types.ts:2644
optionsstring[]Options that control this item.ChoiceFieldOptions.optionssrc/types.ts:2628
readOnly?booleanWhether the form field is read-only.ChoiceFieldOptions.readOnlysrc/types.ts:2640
required?booleanWhether the form field is required.ChoiceFieldOptions.requiredsrc/types.ts:2642
structure?PdfStructureOptionsAdditional structure metadata for tagged PDF output.ChoiceFieldOptions.structuresrc/types.ts:2670
tag?"Annot" | "Artifact"Structure tag used for tagged PDF output.ChoiceFieldOptions.tagsrc/types.ts:2668
value?stringCurrent or default value for the option.ChoiceFieldOptions.valuesrc/types.ts:2630
width?numberWidth override in PDF points.-src/types.ts:1273
x?numberHorizontal position override in PDF points.-src/types.ts:1269
y?numberVertical position override in PDF points.-src/types.ts:1271

Released under the ISC license.