DynaPDF Manual - Page 457
Previous Page 456 Index Next Page 458
Function Reference
Page 457 of 860
GetInNamedDestCount (obsolete)
Syntax:
SI32 pdfGetInNamedDestCount(
const PPDF* IPDF) // Instance pointer
This function is no longer supported. The function returns always zero also if the file contains
named destinations. Please use the new function GetNamedDestCount() instead.
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.
GetInPageCount
Syntax:
SI32 pdfGetInPageCount(
const PPDF* IPDF) // Instance pointer
The function returns the number of pages contained in an external PDF file. The external PDF file
must be opened with the function OpenImportFile() or OpenImporBuffer() beforehand.
Return values:
If the function succeeds the return value is the number of pages. If the function fails the return value
is a negative error code.
GetInPDFVersion
Syntax:
SI32 pdfGetInPDFVersion(
const PPDF* IPDF) // Instance pointer
The function returns the PDF version number of an external PDF file. Values below 10 are the minor
version: 3 for PDF 1.3, 4 for PDF 1.4 and so on.
If the major version is higher than 1, e.g. PDF 2.0, the function returns the version as follows:
Previous topic: GetInMetadata, GetInNamedDest (obsolete)
Next topic: GetInPDFVersionEx, GetInPrintSettings