DynaPDF Manual - Page 387

Previous Page 386   Index   Next Page 388

Function Reference
Page 387 of 839
GetDocUsesTransparency
Syntax:
LBOOL pdfGetDocUsesTransparency(
const PPDF* IPDF, // Instance pointer
UI32 Flags)
// No flags defined yet, the parameter is ignored
The function checks whether a PDF file uses native PDF Transparency (PDF 1.4). The file uses
transparency when it contains soft masks, blend modes other than Normal, or fill or stroke alpha
values smaller than 1.0.
The function checks all pages, templates, extended graphics states, images, annotations, and form
fields.
Return values:
If the file uses transparency the return value is 1. If it uses no transparency the return value is 0.
GetDrawDirection
Syntax:
SI32 pdfGetDrawDirection(
const PPDF* IPDF) // Instance pointer
typedef enum
{
ddCounterClockwise = 0,
ddClockwise
= 1
}TDrawDirection;
The function returns the actual draw direction for closed vector graphics such as rectangles, circles,
ellipses and so on.
GetDynaPDFVersion
Syntax:
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.
GetDynaPDFVersionInt
Syntax:
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.
 

Previous topic: GetDocInfoCount, GetDocInfoEx

Next topic: GetEmbeddedFile