PDFix SDK  6.4.0
PdsContent Struct Referenceabstract

PdsContent class. More...

Public Member Functions

virtual int GetNumObjects ()=0
 Inserts an object into a PdsContent. More...
 
virtual PdsPageObjectGetObject (int index)=0
 
virtual void Release ()=0
 This is the main method for converting a PdsContent into PDF contents and resources. More...
 

Detailed Description

PdsContent class.

The PdsContent object is contains the modifiable contents of a PdfPage.

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

Member Function Documentation

◆ GetNumObjects()

virtual int PdsContent::GetNumObjects ( )
pure virtual

Inserts an object into a PdsContent.

Returns
true if the operation was successful, false otherwise. Removes an object from a PdsContent.
true if the operation was successful, false otherwise. Gets the number of objects.
Number of page objects in the content.

◆ GetObject()

virtual PdsPageObject* PdsContent::GetObject ( int  index)
pure virtual

Gets the requested page object from a content. NOTE: This method does not copy the page object.

Parameters
indexIndex of page object to obtain.
Returns
The requested page objects.

◆ Release()

virtual void PdsContent::Release ( )
pure virtual

This is the main method for converting a PdsContent into PDF contents and resources.

Returns
PdsStream for the resulting contents in PdsContent. Destroys PdsContent resources.
See also
PdfDoc::CreateContent, PdfDoc::CreateFormFromObject