DynaPDF Manual - Page 497

Previous Page 496   Index   Next Page 498

Function Reference
Page 497 of 839
GetStrokeColor
Syntax:
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)
GetSubmitAction
Syntax:
LBOOL pdfGetSubmitAction(
const PPDF* IPDF,
// Instance pointer
UI32 Handle,
// SubmitFormAction handle
struct TPDFSubmitFormAction* Value) // See below
struct TPDFSubmitFormAction
{
UI32
StructSize;
// Must be set to sizeof(TSubmitFormAction)
const char*
CharSet;
// Optional charset in which the form should be submitted.
const void** Fields;
// Array of field pointers -> GetFieldEx2().
UI32
FieldsCount;
// Number of fields in the array.
TSubmitFlags Flags;
// Various flags, see CreateSubmitAction().
const char* URL;
// The URL of the script that will process the
// submission.
SI32
NextAction;
// -1 or next action handle to be executed if any
TActionType
NextActionType; // Only set if NextAction is >= 0.
};
The function returns the properties of a Submit Form Action. The member StructSize must be
initialized with the structure size before the function can be called.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
GetSysFontInfo
Syntax:
SI32 pdfGetSysFontInfo(
const PPDF* IPDF,
// Instance pointer
UI32 Handle,
// Next font handle or 0 for the first call
struct TPDFSysFont* Out) // Out -> See below
struct TPDFSysFont
{
UI32
StructSize;
// Must be set to sizeof(TPDFSysFont)
TFontBaseType
BaseType;
// Font type
const char*
CIDOrdering;
// OpenType CID fonts only
const char*
CIDRegistry;
// OpenType CID fonts only
UI32
CIDSupplement;
// OpenType CID fonts only
UI32
DataOffset;
// Data offset
 

Previous topic: GetSpaceWidth

Next topic: GetTabLen, GetTemplCount, GetTemplHandle