GetObjectJSON

Object model, document inspection

Description

Vráti jeden existujúci nepriamy objekt ako tú istú výslovnú typed hodnotu, akú používa formát kompletného objektového grafu. Referencie zostávajú referenciami namiesto rozbalenia, čím sa vyhne cyklom a zachová identitu objektov

Syntax

Delphi

Function TPDFlib.GetObjectJSON(ObjectNumber, Options: Integer): AnsiString;

ActiveX

Function PDFlib::GetObjectJSON(ObjectNumber As Long, Options As Long) As String

DLL

const char* DLGetObjectJSON(int InstanceID, int ObjectNumber, int Options);

Parameters

ObjectNumberExisting indirect object number
OptionsBit 1 formats readable indented JSON; bit 2 omits stream data

Return values

JSONThe typed object value
Empty stringThe object does not exist or cannot be decoded; LastErrorCode is 105