DynaPDF Manual - Page 673

Previous Page 672   Index   Next Page 674

Function Reference
Page 673 of 839
SelfTest
Syntax:
LBOOL pdfSelfTest(
const PPDF* IPDF) // Instance pointer
The function checks the size of all required data types and checks whether the endian configuration
of the library is correct. The test results are printed to stderr. The function prints also a MD 5 hash
which must be the same as under Windows.
This function can be used under Linux and UNIX operation systems to check whether the library
was correctly compiled. Precompiled libraries are available for the most important operating
systems. The makefiles for a specific OS are always delivered by DynaForms with the source code
license for this OS. Send a mail to support@dynaforms.com for further information.
Set3DAnnotProps
Syntax:
LBOOL pdfSet3DAnnotProps(
const PPDF* IPDF,
// Instance pointer
UI32 Handle,
// Annotation handle
T3DActivationType ActType,
// Activation type
T3DDeActivateType DeActType, // Deactivation type
T3DInstanceType InstType,
// Instantiation type
T3DDeActInstance DeInstType, // De-instantiation type
LBOOL DisplToolbar,
// Display the 3D toolbar?
LBOOL DisplModelTree)
// Display the model tree?
// Activation type
typedef enum
{
at3D_AppDefault,
// Use the default of the viewer
at3D_PageOpen,
// Activate it when the page is opened.
at3D_PageVisible, // Activate it if the page becomes visible.
at3D_Explicit,
// Inactive until explicitly activated (default).
}T3DActivationType;
// Deactivation type
typedef enum
{
dt3D_AppDefault,
// Use the default of the viewer
dt3D_PageClosed,
// As soon as the page is closed.
dt3D_PageInvisible, // When the page becomes invisible (default).
dt3D_Explicit
// Until explicitly deactivated.
}T3DDeActivateType;
// 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;
 

Previous topic: ScaleCoords

Next topic: Set3DAnnotScript, SetAllocBy