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

DynaPDF Manual - Page 446

Previous Page 445   Index   Next Page 447

Function Reference
Page 446 of 750
const UI16*
// Optional location of the signer
const char*
// Date/Time string
const char*
// Optional signers name
const UI16*
// Optional signers name
// The number of seconds since the signer was last authenticated.
const char*
// Optional -> The method that shall be used to authenticate the
// signer. Valid values are PIN, Password, and Fingerprint.
const char*
// Optional reason
const UI16*
// Optional reason
// The version of the signature handler that was used to create
// the signature.
const char*
// A name that describes the encoding of the signature value.
// This should be adbe.x509.rsa_sha1, adbe.pkcs7.detached, or
// adbe.pkcs7.sha1.
// The version of the signature dictionary format.
The function returns the properties of a signature dictionary. This dictionary is only present if an
imported PDF file was digitally signed. Note that the byte ranges refer to the original file that
contained the signature. With the information of this dictionary it is possible to validate the signature
with a cryptographic library like the Windows Crypt API, OpenSSL or similar libraries.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
double fntGetSpaceWidth(
const PPDF* IFont, // Pointer to internal font object
double FontSize)
// Font size to compute the space width
The function returns the width of the space character of the font depending on the font size. If the
font contains no space character a default size is used to compute the space width.
The parameter IFont must be a valid pointer to a PDF font. Such a pointer is returned by
GetPageText(), EnumDocFonts(), or by the content parser (see ParseContent()).
Return values:
If the function succeeds the return value is the space width. If the function fails the return value is
zero. This function does not use the exception handling of DynaPDF. No error message is set on
UI32 pdfGetStrokeColor(
const PPDF* IPDF) // Instance pointer
The function returns the current stroke color. The returned color value is not converted to the active
color space. For example, if the color space will be changed with SetColorSpace(), the color value is
still the same. Colors must be correctly defined in the current color space.
Default value = 0 (Black)

Previous topic: GetSigDict

Next topic: GetSysFontInfo