DynaPDF Manual - Page 674

Previous Page 673   Index   Next Page 675

Function Reference
Page 674 of 839
// How instantiate the annotation?
typedef enum
// Use the default of the viewer
it3D_Instantiated, // Instantiated but animations are disabled.
// Instantiated, animations are enabled (default).
// This flag can be combined with the annotation handle
#define TRANSP_3D_ANNOT 0x40000000
The function sets or changes several important properties of a 3D annotation. The parameter Handle
must be a valid handle of a 3D annotation.
Adobe introduced an extension in PDF 1.7, Extension Level 3, to enable the creation of 3D
annotations with a transparent background. This extension has been reflected in the parameter
Annot. To create a 3D annotation with a transparent background combine the annotation handle
with the flag TRANSP_3D_ANNOT with a binary or operator, e.g. annotHandle |
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.

Previous topic: SelfTest, Set3DAnnotProps

Next topic: Set3DAnnotScript, SetAllocBy