DynaPDF Manual - Page 375

Previous Page 374   Index   Next Page 376

Function Reference
Page 375 of 818
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
Return values:
If the file uses transparency the return value is 1. If it uses no transparency the return value is 0.
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.

Previous topic: GetDocInfoCount, GetDocInfoEx

Next topic: GetEmbeddedFile

Start Chat