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

DynaPDF Manual - Page 107

Previous Page 106   Index   Next Page 108

Function Reference
Page 107 of 750
Function Reference
This section describes all supported functions of DynaPDF in detail. Most examples in this chapter
are written in C, C++, or Delphi. However, as you can see, the usage of DynaPDF is nearly identical
with all programming languages.
Abort (Rendering Engine)
Syntax:
void rasAbort(
IRAS* RasPtr) // Instance pointer of the rasterizer
This function provides a safe way to stop the function RenderPage() very quickly when it is running
in a separate thread. The function sets an internal abort flag so that the rendering engine can safely
terminate the current rendering process. The flag is automatically reset when the function
RenderPage() is called the next time.
AddActionToObj
Syntax:
SI32 pdfAddActionToObj(
const PPDF* IPDF, // Instance pointer
TObjType ObjType, // The type of object that should get the action
TObjEvent Event,
// Which event should trigger the action
UI32 ActHandle,
// Action Handle
UI32 ObjHandle)
// Object Handle (see notes below)
typedef enum
{
otAction,
otAnnotation,
otBookmark,
otCatalog,
// PDF 1.4
otField,
otPage,
otPageLink
}TObjType;
typedef enum
{
oeNoEvent,
// Internal use only -> DO NOT USE THIS VALUE!!!
oeOnOpen,
// Catalog, Pages
oeOnClose,
// Pages only
oeOnMouseUp,
// All fields, page link annotations, bookmarks
oeOnMouseEnter,
// Form fields only
oeOnMouseExit,
// Form fields only
oeOnMouseDown,
// Form fields only
oeOnFocus,
// Form fields only
oeOnBlur,
// Form fields only
 

Previous topic: SetTableWidth

Next topic: AddAnnotToPage