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

DynaPDF Manual - Page 344

Previous Page 343   Index   Next Page 345

Function Reference
Page 344 of 750
SI32 pdfGetDrawDirection(
const PPDF* IPDF) // Instance pointer
typedef enum
ddCounterClockwise = 0,
= 1
The function returns the actual draw direction for closed vector graphics such as rectangles, circles,
ellipses and so on.
char* pdfGetDynaPDFVersion(void)
The function returns the version string of DynaPDF. The return value is a pointer to a null-
terminated static string. The caller must not change or free the string.
SI32 pdfGetDynaPDFVersionInt(void)
The function returns the DynaPDF version as an integer. This is a pure interface function that parses
the version string returned by GetDynaPDFVersion(). Therefore, the function is compatible with all
DynaPDF versions.
A DynaPDF version string consists of 4 four parts: major version, revision (unused, always zero),
minor version, and build number.
Example: = Major = 4, revision (always zero), minor = 3, build = 7.
The same version as an integer would be calculated as follows:
Version = Major * 10000000 + Minor * 10000 + Build
The above version string would be returned as 40030007 = 4 * 10000000 + 3 * 10000 + 7.
Return values:
If the function succeeds the return value is the version number, a value greater zero. If the function
fails the return value is zero.

Previous topic: GetDocUsesTransparency

Next topic: GetEmbeddedFile