Xojo Conferences
MBSOct2019CologneDE

DynaPDF Manual - Page 616

Previous Page 615   Index   Next Page 617

Function Reference
Page 616 of 770
// What should be done with the instance when the annotation becomes
// deactivated?
typedef enum
{
di3D_AppDefault,
// Use the default of the viewer
di3D_UnInstantiated, // The annotation will be uninstantiated (default)
di3D_Instantiated,
// The annotation is left instantiated
di3D_Live
// Animations stay live
}T3DDeActInstance;
// How instantiate the annotation?
typedef enum
{
it3D_AppDefault,
// Use the default of the viewer
it3D_Instantiated, // Instantiated but animations are disabled.
it3D_Live
// Instantiated, animations are enabled (default).
}T3DInstanceType;
// 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.
Extensions:
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 | TRANSP_3D_ANNOT.
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