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

DynaPDF Manual - Page 596

Previous Page 595   Index   Next Page 597

Function Reference
Page 596 of 750
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;
 

Previous topic: ScaleCoords

Next topic: SetAllocBy