[]
        
(Showing Draft Content)

PdfImageHandler

DsPdfJS API v9.1.0


DsPdfJS API / PdfImageHandler

Class: PdfImageHandler

Represents and manages a Image used in a PdfDocument.

Extends

Accessors

format

Get Signature

get format(): PdfImageFormat | null

Gets or sets the format used to encode the image associated with this PdfImageHandler.

By default this property is unspecified (null), and the actual embedding mode is determined by PdfDocument#imageOptions.

Returns

PdfImageFormat | null

Set Signature

set format(value): void

Gets or sets the format used to encode the image associated with this PdfImageHandler.

By default this property is unspecified (null), and the actual embedding mode is determined by PdfDocument#imageOptions.

Parameters
value

PdfImageFormat | null

Returns

void


id

Get Signature

get id(): number

Gets the reference to the object.

Returns

number

Inherited from

ObjectBase.id


image

Get Signature

get image(): Image

Gets the Image object managed by this PdfImageHandler object.

Returns

Image


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