Index

C/C++ Functions

pdDocErase

void pdDocErase(DT_PDDOC power_doc)

Short Description: Erase document

The pdDocErase function erases all contents (i.e. all PowerDoc objects and all PowerDoc images) of the Power Engine document specified by the document instance power_doc.

Parameters

ParameterDescription

power_doc

Handle of the Power Engine document whose PowerDoc objects and PowerDoc images are to be erased.

Comments

The pdDocErase function erases all contents of the referenced Power Engine document. This includes all PowerDoc objects and all PowerDoc images this document contains. It is important to note, however, that this function will not destroy the referenced Power Engine document. Therefore, power_doc is still a valid document instance after this function returns. To destroy a document when it is no longer needed, call the pdDocExt function.

Related Functions

pdDocIni, pdDocExt

 

Index