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

DynaPDF Manual - Page 393

Previous Page 392   Index   Next Page 394

Function Reference
Page 393 of 750
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. DynaPDF does not
allow editing of XFA forms. If the form is a hybrid form the XFA part can be deleted and the
remaining PDF form fields can be edited as usual.
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.
GetInOrientation
Syntax:
SI32 pdfGetInOrientation(
const PPDF* IPDF, // Instance pointer
SI32 PageNum)
// Page number
The function returns the orientation of a specific page within the currently open import file (see also
OpenImportFile()).
Return values:
If the function succeeds the return value is the orientation of the page in degrees. Possible values are
0, 90, 180, 270, or the same values as negative numbers. If the function fails the return value is a
negative error code, a value smaller than -360.
 

Previous topic: GetInIsSigned

Next topic: GetInPrintSettings