DynaPDF Manual - Page 442

Previous Page 441   Index   Next Page 443

Function Reference
Page 442 of 818
GetMatrix
Syntax:
LBOOL pdfGetMatrix(
const PPDF* IPDF, // Instance pointer
struct TCTM* M)
// Structure which holds the transformation matrix
struct TCTM
{
double a;
double b;
double c;
double d;
double x;
double y;
};
The function retrieves the current transformation matrix. Affine transformations are used to scale,
translate, shear, or reflect the coordinate system. Functions which change the coordinate system
change always the current transformation matrix, e.g. RotateCoords(), TranslateCoords(), and so on.
The transformation matrix can also be changed directly with SetMatrix().
GetMaxFieldLen
Syntax:
SI32 pdfGetMaxFieldLen(
const PPDF* IPDF, // Instance pointer
UI32 TxtField)
// Text field handle
The function returns the allowed maximum string length of a text field, or zero if the length is not
restricted. The parameter TxtField must be a valid handle of a text field.
Return values:
If the function succeeds the return value is the allowed maximum string length of the text field. If
the function fails the return value is a negative error code.
GetMeasureObj
Syntax:
LBOOL pdfGetMeasureObj(
const IMSR* Measure,
// Pointer of a measure object
struct TPDFMeasure* Value) // See below
struct TPDFMeasure
{
UI32
StructSize;
// Must be set to sizeof(TPDFMeasure)
LBOOL
IsRectilinear; // If true, the members of the rectilinear measure dictionary are set.
/* --- Rectilinear measure dictionary --- */
INFM**
Angles;
// Number format array to measure angles -> GetNumberFormatObj()
UI32
AnglesCount;
// Number of objects in the array.
INFM**
Area;
// Number format array to measure areas -> GetNumberFormatObj()
UI32
AreaCount;
// Number of objects in the array.
float
CXY;
// Optional, meaningful only when Y is present.
INFM**
Distance;
// Number format array to measure distances -> GetNumberFormatObj()
 

Previous topic: GetLogMetafileSizeEx

Next topic: GetMetaConvFlags, GetMetadata


Start Chat