DynaPDF Manual - Page 300

Previous Page 299   Index   Next Page 301

Function Reference
Page 300 of 787
DeleteFieldEx
Syntax:
SI32 pdfDeleteFieldEx(
const PPDF* IPDF, // Instance pointer
const char* Name) // Full qualified field name
This function deletes an interactive form field by using its full qualified name, that is the name of
any parent group field separated by a period (.) plus the field name.
Remarks:
Check boxes of a radio button have no name. It is not possible to delete such a check box by using
this function, use DeleteField() instead. However, the entire radio button can be deleted with this
function.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
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.
 

Previous topic: DeleteEmbeddedFile, DeleteField

Next topic: DeleteOutputIntent, DeletePage, DeletePageLabels, DeletePDF

Start Chat