[]
        
(Showing Draft Content)

ObjrContentItemLink

Class: ObjrContentItemLink

Represents a custom PDF object as a content item in a PDF structure tree (the OBJR PDF object).

Extends

Constructors

Constructor

new ObjrContentItemLink(obj?): ObjrContentItemLink;

Creates a new ObjrContentItemLink.

Parameters

obj?

ContentItem

The referenced object (a PdfPage, AnnotationBase, or FormXObject).

Returns

ObjrContentItemLink

Overrides

RContentItemLink.constructor

Constructor

new ObjrContentItemLink(om, obj?): ObjrContentItemLink;

Creates a new ObjrContentItemLink.

Parameters

om

ObjectManager

An object manager that controls the lifetime of the ObjrContentItemLink object.

obj?

ContentItem

The referenced object (a PdfPage, AnnotationBase, or FormXObject).

Returns

ObjrContentItemLink

Overrides

RContentItemLink.constructor

Accessors

id

Get Signature

get id(): number;

Gets the reference to the object.

Returns

number

Inherited from

RContentItemLink.id


obj

Get Signature

get obj(): ContentItem;

Gets the referenced object (a PdfPage, AnnotationBase, or FormXObject), or null if there is none or the target type is not yet supported.

Returns

ContentItem

Set Signature

set obj(value): void;

Sets the referenced object (a PdfPage, AnnotationBase, or FormXObject).

Parameters
value

ContentItem

Returns

void


om

Get Signature

get om(): ObjectManager;

Gets the owner ObjectManager instance.

Returns

ObjectManager

Inherited from

RContentItemLink.om


page

Get Signature

get page(): PdfPage;

Gets the PdfPage object where this content item is located.

Returns

PdfPage

Set Signature

set page(value): void;

Sets the PdfPage object where this content item is located.

Parameters
value

PdfPage

Returns

void

Inherited from

RContentItemLink.page

Methods

free()

free(): void;

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

Returns

void

Inherited from

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

RContentItemLink.rebind