[]
        
(Showing Draft Content)

ActionGoTo

DsPdfJS API v9.1.0


DsPdfJS API / ActionGoTo

Class: ActionGoTo

Represents an action that changes the view to a destination (page, location, and magnification factor) specified by a DestinationBase object.

Extends

Constructors

Constructor

new ActionGoTo(om, dest?): ActionGoTo

Initialize a new instance of the ActionGoTo class.

Parameters

om

ObjectManager

ObjectManager that controls the lifetime of the ActionGoTo.

dest?

The destination object defining the new document view.

DestinationProperties | DestinationBase

Returns

ActionGoTo

Overrides

ActionBase.constructor

Constructor

new ActionGoTo(dest?): ActionGoTo

Initialize a new instance of the ActionGoTo class.

Parameters

dest?

The destination object defining the new document view.

DestinationProperties | DestinationBase

Returns

ActionGoTo

Overrides

ActionBase.constructor

Accessors

dest

Get Signature

get dest(): DestinationBase | null

Gets or sets the destination object defining the new document view.

Returns

DestinationBase | null

Set Signature

set dest(value): void

Gets or sets the destination object defining the new document view.

Parameters
value

DestinationProperties | DestinationBase | null

Returns

void


id

Get Signature

get id(): number

Gets the reference to the object.

Returns

number

Inherited from

ActionBase.id


om

Get Signature

get om(): ObjectManager

Gets the owner ObjectManager instance.

Returns

ObjectManager

Inherited from

ActionBase.om

Methods

free()

free(): void

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

Returns

void

Inherited from

ActionBase.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

ActionBase.rebind