CreateNewObject

Miscellaneous functions

Description

Adds a new PDF object to the document. The contents of the object can be set using the

SetObjectFromString function.

Syntax

Delphi

function TPDFlib.CreateNewObject: Integer;

ActiveX

Function PDFlib::CreateNewObject As Long

DLL

int DLCreateNewObject(int InstanceID);

Return values

Non-zeroThe object number of the newly created object