[]
        
(Showing Draft Content)

AcroForm

DsPdfJS API v9.1.0


DsPdfJS API / AcroForm

Class: AcroForm

Defines properties of AcroForm within PDF document.

Extends

Accessors

calculationOrder

Get Signature

get calculationOrder(): Field[]

Gets or sets an array of fields that are recalculated each time when the value of any field is changed. The property value is calculated each time when it is requested on the base of Field#calculationIndex property of fields in the fields collection. Setting the property updates the Field#calculationIndex property.

Returns

Field[]

Set Signature

set calculationOrder(value): void

Gets or sets an array of fields that are recalculated each time when the value of any field is changed. The property value is calculated each time when it is requested on the base of Field#calculationIndex property of fields in the fields collection. Setting the property updates the Field#calculationIndex property.

Parameters
value

(string | Field)[] | null

Returns

void


doc

Get Signature

get doc(): PdfDocument

Gets the PdfDocument object owning this object.

Returns

PdfDocument


fields

Get Signature

get fields(): FieldCollection

Gets the FieldCollection collection containing document fields.

Returns

FieldCollection


id

Get Signature

get id(): number

Gets the reference to the object.

Returns

number

Inherited from

ObjectBase.id


om

Get Signature

get om(): ObjectManager

Gets the owner ObjectManager instance.

Returns

ObjectManager

Inherited from

ObjectBase.om

Methods

free()

free(): void

Detaches the object from the ObjectManager and deallocates its memory, if possible.

Returns

void

Inherited from

ObjectBase.free


rebind()

rebind(omTo): void

Rebinds the object from the current ObjectManager to the specified one.

Parameters

omTo

ObjectManager

The new ObjectManager for the object.

Returns

void

Inherited from

ObjectBase.rebind