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

DynaPDF Manual - Page 447

Previous Page 446   Index   Next Page 448

Function Reference
Page 447 of 750
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
const UI16*
FamilyName;
// Family name
const char*
FilePathA;
// Font file path
const UI16*
FilePathW;
// Font file path
UI32
FileSize;
// File size in bytes
TEnumFontProcFlags Flags;
// Bitmask
const UI16*
FullName;
// Full name
UI32
Length1;
// Length of the clear text portion of a Type1 font
UI32
Length2;
// Length of the eexec encrypted portion of a Type1 font
const char*
PostScriptNameA; // Postscript mame
const UI16*
PostScriptNameW; // Postscript mame
SI32
Index;
// Zero based font index if stored in a TrueType collection
LBOOL
IsFixedPitch;
// If true, the font is a fixed pitch font
TFStyle
Style;
// Font style
TUnicodeRange1
UnicodeRange1;
// Bitmask
TUnicodeRange2
UnicodeRange2;
// Bitmask
TUnicodeRange3
UnicodeRange3;
// Bitmask
 

Previous topic: GetStrokeColor

Next topic: GetTemplHeight