Xojo Conferences
MBSOct2019CologneDE

DynaPDF Manual - Page 426

Previous Page 425   Index   Next Page 427

Function Reference
Page 426 of 770
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: GetNeedAppearance, GetNumberFormatObj

Next topic: GetObjEvent