This method fully initializes the CDTDocV8 object, which represents a PowerDoc document. The initialized PowerDoc document is blank, i.e. it does not contain any PowerDoc objects or PowerDoc images.
If the initialization was successful, applications can subsequently call other CDTDocV8 methods.
Parameter | Description |
---|---|
engine |
References the CDTEngineV8 object. The associated CDTEngineV8 object will then be responsible for handling and rendering the document. It is important to note that many PowerDoc documents can be associated with the same CDTEngineV8 object. In other words, a single CDTEngineV8 object can handle and render many PowerDoc documents. |
If the initialization was successful, the return value is true. Otherwise, the method returns false.