DynaPDF Manual - Page 301

Previous Page 300   Index   Next Page 302

Function Reference
Page 301 of 787
DeleteOutputIntent
Syntax:
SI32 pdfDeleteOutputIntent(
const PPDF* IPDF, // Instance pointer
SI32 Index)
// Array index or -1 to delete all intents
The function can be used to delete a specific or all output intents. A PDF file can contain more than
one output intent. Call GetOutputIntentCount() to determine the number of available output
intents. If the parameter Index is set to -1 all output intents will be deleted.
Return values:
If the function succeeds the return value is the remaining number of output intents. If the function
fails the return value is a negative error code.
DeletePage
Syntax:
SI32 pdfDeletePage(
const PPDF* IPDF, // Instance pointer
UI32 PageNum)
// Page number
This function deletes a page. The parameter PageNum must be the page number that should be
deleted. The first page has the number 1, the second 2 and so on. A page is physically deleted by this
function but no objects used by the page. All other pages and objects are still valid.
Return values:
If the function succeeds the return value is the remaining number of pages. If the function fails the
return value is a negative error code.
DeletePageLabels
Syntax:
void pdfDeletePageLabels(
const PPDF* IPDF) // Instance pointer
The function deletes all page labels contained in the current open document, if any.
DeletePDF
Syntax:
SI32 pdfDeletePDF(
PPDF* IPDF) // Instance pointer
The function deletes a PDF instance that was previously created with the function NewPDF().
This function is automatically called in the wrapper classes for Visual Basic, Visual Basic .Net and
Delphi.
 

Previous topic: DeleteFieldEx, DeleteJavaScripts, DeleteOCGFromAppEvent

Next topic: DeleteRasterizer (Rendering Engine), DeleteSeparationInfo, DeleteTemplate

Start Chat