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

DynaPDF Manual - Page 390

Previous Page 389   Index   Next Page 391

Function Reference
Page 390 of 750
GetInIsCollection
Syntax:
SI32 pdfGetInIsCollection(
const PPDF* IPDF) // Instance pointer
The function checks whether the currently opened import file is a portable collection. See
CreateCollection() for further information.
Return values:
If the function succeeds the return value is either 0 or 1 depending on whether the opened PDF file is
a portable collection. If the function fails the return value is a negative error code.
GetInIsEncrypted
Syntax:
SI32 pdfGetInIsEncrypted(
const PPDF* IPDF) // Instance pointer
The function checks whether the currently opened import file is encrypted.
Return values:
If the function succeeds the return value is either 0 or 1 depending on whether the opened PDF file is
encrypted. 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.
Example (C++):
float* points = NULL;
TPDFAnnotationEx annot;
UI32 i, j, numAnnots, count = 0;
pdfEditPage(pdf, 1);
numAnnots = pdfGetPageAnnotCount(pdf);
for (i = 0; i < numAnnots; i++)
{
if (pdfGetPageAnnotEx(pdf, i, annot))
{
 

Previous topic: GetInFieldCount

Next topic: GetInMetadata