The pdImgDelete function deletes PowerDoc images based on their status. For example, this function can be used to delete all the selected PowerDoc images.
Parameter | Description |
---|---|
power_doc |
Handle of the associated Power Engine document. |
status |
See the description of the status attribute on the pdImgAdd page. All the images with the specified status will be affected by this function. |
When this function returns, all images with the specified status will be deleted and removed from the Image Allocation Array. All PowerDoc images with a serial number (i.e. index) larger than the index of any of the deleted images will have their serial number adjusted accordingly. When applicable, it is your application's responsibility to ensure that its internal image references remain valid after this change.
pdImgDel, pdImgDelAll
pdImgAdd