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

DynaPDF Manual - Page 445

Previous Page 444   Index   Next Page 446

Function Reference
Page 445 of 750
GetSaveNewImageFormat
Syntax:
SI32 pdfGetSaveNewImageFormat(
const PPDF* IPDF) // Instance pointer
If false (0), images are not downscaled if necessary to achieve the specified resolution (see
SetResolution()).
Default value = 1 (true)
GetSeparationInfo
Syntax:
LBOOL pdfGetSeparationInfo(
const PPDF* IPDF,
// Instance pointer
char* ADDR Colorant,
// Colorant name
TExtColorSpace ADDR CS) // Separation, DeviceN, or NChannel
The function returns the separation info stored in the current open page. The colorant name is
returned UTF-8 Unicode format.
Return values:
If the function succeeds the return value is 1. If the function fails or if the page contains no separation
info the return value is 0.
GetSigDict
Syntax:
LBOOL pdfGetSigDict(
const PPDF* ISignature,
// Pointer of a signature dictionary
struct TPDFSigDict* SigDict) // see below
struct TPDFSigDict
{
UI32
StructSize;
// Must be set to sizeof(TPDFSigDict).
const UI32*
ByteRange;
// ByteRange -> Byte offset followed by the corresponding length.
// The byte ranges are required to create the digest. The values
// are returned as is. Check whether the offsets and length values
// are valid. There are normally at least two ranges. Overlapping
// ranges are not allowed! Any error breaks processing and the
// signature should be considered as invalid.
UI32
ByteRangeCount; // The number of Offset / Length pairs.
const BYTE*
Cert;
// X.509 Certificate when SubFilter is adbe.x509.rsa_sha1.
UI32
CertLen;
// Length in bytes
const UI32*
Changes;
// If set, an array of three integers that specify changes to the
// document that have been made between the previous signature and
// this signature in this order: the number of pages altered, the
// number of fields altered, and the number of fields filled in.
const char*
ContactInfoA;
// Optional contact info string
const UI16*
ContactInfoW;
// Optional contact info string
const BYTE*
Contents;
// The signature. This is either a DER encoded PKCS#1 binary data
// object or a DER-encoded PKCS#7 binary data object depending on
// the used SubFilter.
UI32
ContentsSize;
// Length in bytes.
const char*
Filter;
// The name of the security handler, usually Adobe.PPKLite.
const char*
LocationA;
// Optional location of the signer
 

Previous topic: GetResolution

Next topic: GetStrokeColor