DynaPDF Manual - Page 400

Previous Page 399   Index   Next Page 401

Function Reference
Page 400 of 777
UI32 pdfGetImportFlags2(
const PPDF* IPDF) // Instance pointer
The function returns the current import flags used to import PDF files. The flags are described in
detail at SetImportFlags2().
SI32 pdfGetInBBox(
const PPDF* IPDF,
// Instance pointer
UI32 PageNum,
// Page number of external PDF file
TPageBoundary Boundary,
// Type of bounding box to be returned
struct TPDFRect ADDR BBox) // Bounding box
typedef enum
// Art box
pbBleedBox, // Bleed box
// Crop box
// Trim box
// Media box
struct TPDFRect
double Left;
double Bottom;
double Right;
double Top;
The function retrieves a bounding box of an external PDF page. The external PDF file must be
opened with the function OpenImportFile() or OpenImporBuffer() beforehand.
The bounding boxes are described in detail under SetBBox().
Return values:
If the function succeeds the return value is 1 and the parameter BBox is filled with values. If the
function fails the return value is 0.

Previous topic: GetImageWidth, GetImportDataAction, GetImportFlags

Next topic: GetInDocInfo, GetInDocInfoCount, GetInDocInfoEx