Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

DynaPDF Manual - Page 288

Previous Page 287   Index   Next Page 289

Function Reference
Page 288 of 750
DeleteJavaScripts
Syntax:
void pdfDeleteJavaScripts(
const PPDF* IPDF,
// Instance pointer
LBOOL DelJavaScriptActions) // Delete Javascript Actions?
The function deletes all global Javascripts and optionally all Javascript Actions from the document.
DeleteOCGFromAppEvent
Syntax:
LBOOL pdfDeleteOCGFromAppEvent(
const PPDF* IPDF,
// Instance pointer
UI32 Handle,
// OCG Handle
TOCAppEvent Events,
// Bitmask, one or more events
TOCGUsageCategory Categories, // Bitmask, if DelCategoryOnly is true
LBOOL DelCategoryOnly);
// If true, delete only the category from
// the events
The function deletes an OCG or layer from one or more application events, or it deletes only one or
more categories from an application event in which the OCG was found (if DelCategoryOnly is true).
If DelCategoryOnly is true, and if no more categories are left in the application event, then the event
will be deleted. See also AddOCGToAppEvent() and SetOCGContUsage() for further information.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
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.
 

Previous topic: DeleteFieldEx

Next topic: DeleteSeparationInfo