DynaPDF Manual - Page 436
Previous Page 435 Index Next Page 437
Function Reference
Page 436 of 839
GetInIsTrapped
Syntax:
SI32 pdfGetInIsTrapped(
const PPDF* IPDF) // Instance pointer
This function returns the value of the Trapped key in the current open import file. The PDF file must
be opened with OpenImportFile() or OpenImportBuffer() beforehand. If the key is not set the return
value is false.
Return values:
If the function succeeds it returns 0 or 1 depending on the value of the Trapped key. A negative
error code is returned on failure.
GetInIsXFAForm
Syntax:
SI32 pdfGetInIsXFAForm(
const PPDF* IPDF) // Instance pointer
The function returns true if the current open import file contains an XFA form. If the form is a
hybrid form the XFA part can be deleted and the remaining PDF form fields can be edited as usual.
XFA streams can be accessed with GetXFAStream() / GetXFAStreamCount().
The PDF file must be opened with OpenImportFile() or OpenImportBuffer() before this function can
be called.
Return values:
If the function succeeds it returns 0 or 1 depending on whether the file contains an XFA form. If the
function fails the return value is a negative error code.
GetInkList
Syntax:
LBOOL pdfGetInkList(
const ILST* List, // List pointer returned by GetAnnotEx()
float** Points,
// Address of a float* variable
UI32* Count)
// Address of a UI32 variable
The function returns a path or ink list of an Ink annotation. The array contains x/y coordinate pairs
(measured in bottom up coordinate system). The array length should be even but odd values can
occur if the annotation was imported from a malformed document.
The points of an ink list are usually drawn with bezier curves to achieve a smooth transition
between points.
Previous topic: GetInIsSigned, GetInIsTaggedPDF
Next topic: GetInMetadata