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

DynaPDF Manual - Page 342

Previous Page 341   Index   Next Page 343

Function Reference
Page 342 of 750
void* IMixingHints;
// Pointer to optional mixing hints.
void* Reserved01;
void* Reserved02;
void* Reserved03;
void* Reserved04;
The function retrieves attributes of a DeviceN or NChannel color space. The parameter IAttributes
must be a valid pointer of an attribute object. This pointer is available in the structure
TPDFColorSpaceObj. See GetColorSpaceObj() for further information.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SI32 pdfGetDocInfo(
const PPDF* IPDF,
// Instance pointer
TDocumentInfo DInfo, // Document info entry
UI16* ADDR Value)
// Value as Unicode string (null-terminated)
typedef enum
= 0,
= 1,
= 2,
= 3,
= 4,
= 5,
= 6,
= 7,
// GetInDocInfo() or GetInDocInfoEx()
= 8,
// Not supported -> Use GetDocInfoEx()
= 9,
// GetInDocInfo() or GetInDocInfoEx()
diCreationDate = 10, // Available after a PDF file was imported
= 11
// GetInDocInfo() or GetInDocInfoEx()
The function retrieves a document info entry as Unicode string. The parameter Value holds a pointer
to the original Unicode value, it must not be NULL. Do not change or free the value. GetDocInfo()
returns only the values of predefined document info entries. All document info entries, incl. user
defined keys can be accessed with GetDocInfoEx().
Return value:
The return value is the string length in characters. If the info entry is not set it returns 0 and Value is
initialized to NULL.

Previous topic: GetDeviceNAttributes

Next topic: GetDocUsesTransparency