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

DynaPDF Manual - Page 409

Previous Page 408   Index   Next Page 410

Function Reference
Page 409 of 750
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()
UI32
DistanceCount; // Number of objects in the array.
float
OriginX;
// X-Origin of the measurement coordinate system.
float
OriginY;
// Y-Origin of the measurement coordinate system.
const char* RA;
// A text string expressing the scale ratio of the drawing.
const UI16* RW;
// A text string expressing the scale ratio of the drawing.
INFM**
Slope;
// Number format array to measurement the slope -> GetNumberFormatObj()
UI32
SlopeCount;
// Number of objects in the array.
INFM**
X;
// Number format array for measurement of change along the x-axis and,
// if Y is not present, along the y-axis as well.
UI32
XCount;
// Number of objects in the array.
INFM**
Y;
// Number format array for measurement of change along the y-axis.
UI32
YCount;
// Number of objects in the array.
/* --- Geospatial measure dictionary --- */
float*
Bounds;
// Array of numbers taken pairwise to describe the bounds for which
// geospatial transforms are valid.
UI32
BoundCount;
// Number of values in the array. Should be a multiple of two.
// The DCS coordinate system is optional.
LBOOL
DCS_IsSet;
// If true, the DCS members are set.
LBOOL
DCS_Projected; // If true, the DCS values contains a pojected coordinate system.
SI32
DCS_EPSG;
// Optional, either EPSG or WKT is set.
const char* DCS_WKT;
// Optional ASCII string.
// The GCS coordinate system is required and should be present.
LBOOL
GCS_Projected; // If true, the GCS values contains a pojected coordinate system.
SI32
GCS_EPSG;
// Optional, either EPSG or WKT is set.
const char* GCS_WKT;
// Optional ASCII string.
 

Previous topic: GetMatrix

Next topic: GetMetaConvFlags