DynaPDF Manual - Page 319

Previous Page 318   Index   Next Page 320

Function Reference
Page 319 of 818
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
Example (C++):
// In this example, we have a document with 10 imported pages.
// The entire document was imported with the function ImportPDFFile()
// so that all interactive features are also imported. However, the
// third page contains invalid contents that should be removed. The
// imported pages were converted to templates during import (it is also
// possible to import pages without conversion). The template handles
// of the imported pages are not known so that we use the indexes instead.
pdfEditPage(3);
SI32 tmplCount = pdfGetTemplCount();
for (SI32 i = 0; i < tmplCount; i++)
pdfDeleteTemplateEx(i);
pdfEndPage();
 

Previous topic: DeleteSeparationInfo, DeleteTemplate, DeleteTemplateEx

Next topic: DeleteXFAForm, DrawArc


Start Chat