DynaPDF Manual - Page 707

Previous Page 706   Index   Next Page 708

Function Reference
Page 707 of 777
Matrix multiplications and every other transformation of the coordinate system should always be
applied in bottom up coordinates. It is the only way to avoid side effects when changing the
coordinate system arbitrary often.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetMaxErrLogMsgCount
Syntax:
void pdfSetMaxErrLogMsgCount(
const PPDF* IPDF, // Instance pointer
UI32 Value)
// New limit
The function can be used the change the maximum number of error messages which can be stored in
the internal error log. It is normally best to restrict the number of error messages especially when
importing PDF files because damaged PDF files can produce hundreds or thousands of warnings.
See also GetErrLogMessage().
The default value is 100.
SetMaxFieldLen
Syntax:
SI32 pdfSetMaxFieldLen(
const PPDF* IPDF, // Instance pointer
UI32 TxtField,
// Text field handle
SI32 MaxLen)
// Maximum string length or zero if not restricted
The function changes the maximum count of characters which can be entered into a text field. A
value of zero determines that the string length should not be restricted.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: SetListFont, SetMatrix

Next topic: SetMetaConvFlags