DynaPDF Manual - Page 404

Previous Page 403   Index   Next Page 405

Function Reference
Page 404 of 770
Return values:
If the function succeeds the return value 0 or 1 depending on whether the font is a fixed pitch font. If
the function fails the return value is a negative error code.
LBOOL pdfGetIsTaggingEnabled(
const PPDF* IPDF) // Instance pointer
This function can be used to determine whether tagging is enabled. If the function is called within an
open page then it checks whether tagging is enabled for this page. EditPage() does not fully disable
tagging when the structure information of a specific page is damaged.
When the function is called outside of an open page then it checks whether tagging for the entire
document is enabled. Tagging can be disabled when a page of a PDF file with tagging information
was imported while a structure tree was already in memory.
Return values:
If tagging is enabled the return value is 1. If tagging is disabled the return value is 0.
double pdfGetItalicAngle(
const PPDF* IPDF) // Instance pointer
The function returns the italic angle in degrees that will be used to emulate italic font styles. This
value is only used if an italic version of the wished font could not be found. See SetItalicAngle() for
further information.
Default value = 14.0
char* pdfGetJavaScript(
const PPDF* IPDF,
// Instance pointer
UI32 AHandle,
// Handle of global JavaScript
UI32 ADDR Len,
// String length in characters
LBOOL ADDR Unicode) // If true, the return value is a Unicode string
The function returns a global JavaScript as string. The parameter AHandle must be a valid handle of a
global JavaScript. The parameter Len holds the string length in characters without null-terminator. If
Unicode is true, the return value is a Unicode string. Make a typecast to UI16* in the latter case. The
parameters Len and Unicode must both not be NULL.
The returned string is a pointer to the original value. Do not change or free the string.

Previous topic: GetInRepairMode, GetIsFixedPich

Next topic: GetJavaScriptAction (obsolete)