Xojo Conferences
XDCMay2019MiamiUSA
MBSOct2019CologneDE

DynaPDF Manual - Page 347

Previous Page 346   Index   Next Page 348

Function Reference
Page 347 of 766
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.
GetDocInfo
Syntax:
SI32 pdfGetDocInfo(
const PPDF* IPDF,
// Instance pointer
TDocumentInfo DInfo, // Document info entry
UI16* ADDR Value)
// Value as Unicode string (null-terminated)
typedef enum
{
diAuthor
= 0,
diCreator
= 1,
diKeywords
= 2,
diProducer
= 3,
diSubject
= 4,
diTitle
= 5,
diCompany
= 6,
diPDFX_Ver
= 7,
// GetInDocInfo() or GetInDocInfoEx()
diCustom
= 8,
// Not supported -> Use GetDocInfoEx()
diPDFX_Conf
= 9,
// GetInDocInfo() or GetInDocInfoEx()
diCreationDate = 10, // Available after a PDF file was imported
diModDate
= 11
// GetInDocInfo() or GetInDocInfoEx()
}TDocumentInfo;
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