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

DynaPDF Manual - Page 417

Previous Page 416   Index   Next Page 418

Function Reference
Page 417 of 750
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
GetObjActionCount (obsolete)
Syntax:
SI32 pdfGetObjActionCount(
const PPDF* IPDF, // Instance pointer
TObjType ObjType, // Object type
UI32 ObjHandle)
// Object handle
typedef enum
{
otAction,
otAnnotation,
otBookmark,
otCatalog,
otField,
otPage,
otPageLink
}TObjType;
The function returns the number of actions used by an object. If the object type is a page, then use the
page number as handle.
The number of actions used by an object can be used to remove a specific action from an object. See
also DeleteActionFromObj(), GetActionTypeEx().
This function is marked as obsolete. Please use GetObjActions() instead.
Return values:
If the function succeeds the return value is the number of actions used by an object. If the function
fails the return value is a negative error code.
GetObjActions
Syntax:
SI32 pdfGetObjActions(
const PPDF* IPDF,
// Instance pointer
TObjType ObjType,
// see below
UI32 ObjHandle,
// Object handle
struct TPDFObjActions* Actions) // see below
typedef enum
{
otAction,
otAnnotation,
otBookmark,
otCatalog,
otField,
otPage,
otPageLink
 

Previous topic: GetNumberFormatObj

Next topic: GetObjEvent