PDFix SDK  6.5.0
PdsObject Struct Referenceabstract

PdsObject class. More...

Inheritance diagram for PdsObject:
PdsArray PdsBoolean PdsDictionary PdsName PdsNull PdsNumber PdsStream PdsString

Public Member Functions

virtual PdfObjectType GetObjectType ()=0
 Gets the type of an object. More...
 
virtual int GetId ()=0
 Gets the object number. More...
 

Detailed Description

PdsObject class.

A PdsObject is a general object in a PDF file, which may be of any PdsObject object type. The Object layer provides several methods that are not specific to any particular object.

Member Function Documentation

◆ GetId()

virtual int PdsObject::GetId ( )
pure virtual

Gets the object number.

Returns
Object number in orzero in case of a direct object

◆ GetObjectType()

virtual PdfObjectType PdsObject::GetObjectType ( )
pure virtual

Gets the type of an object.

Returns
Object type, kObjectUnknown otherwise.