DynaPDF Manual - Page 438

Previous Page 437   Index   Next Page 439

Function Reference
Page 438 of 839
Usage (C++):
pdfOpenImportFile(pdf, "c:/test.pdf", ptOpen, NULL);
BYTE* buffer = NULL;
UI32 bufSize = 0;
if (pdfGetInMetadata(pdf, -1, &buffer, &bufSize))
{
if (bufSize > 0)
{
// Do something with the data
}
}
GetInNamedDest (obsolete)
Syntax:
LBOOL pdfGetInNamedDest(
const PPDF* IPDF,
// Instance pointer
UI32 Index,
// Array index
struct TPDFNamedDest* Dest) // Structure to be filled
This function is no longer supported. Please use the new function GetNamedDest() instead.
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.
 

Previous topic: GetInMetadata

Next topic: GetInPageCount, GetInPDFVersion, GetInPDFVersionEx