DynaPDF Manual - Page 419

Previous Page 418   Index   Next Page 420

Function Reference
Page 419 of 818
GetImportDataAction
Syntax:
LBOOL pdfGetImportDataAction(
const PPDF* IPDF,
// Instance pointer
UI32 Handle,
// Action handle
struct TPDFImportDataAction* Action) // see below
struct TPDFImportDataAction
{
UI32
StructSize;
// Must be set to sizeof(TPDFImportDataAction).
struct TPDFFileSpecEx Data;
// The data or file to be loaded.
SI32
NextAction;
// -1 or next action handle to be executed if any
TActionType
NextActionType; // Only set if NextAction is >= 0.
};
The function retrieves the properties of an Import Data Action. The member StructSize must be set to
sizeof(TPDFImportDataAction) before the function can be called. The struture TPDFFileSpecEx is
described in detail at GetFileSpec(). It is not required to initialize the member StructSize of this
struture too.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
GetImportFlags
Syntax:
UI32 pdfGetImportFlags(
const PPDF* IPDF) // Instance pointer
The function returns the current import flags used to import PDF files. The flags are described in
detail at SetImportFlags().
GetImportFlags2
Syntax:
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().
GetInBBox
Syntax:
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
 

Previous topic: GetImageObjCount, GetImageObjEx, GetImageWidth

Next topic: GetInDocInfo


Start Chat