FILERTFOPTIONS
typedef struct _FILERTFOPTIONS
{
L_UINT uStructSize;
L_DOUBLE dTopMarg;
L_DOUBLE dBottomMarg;
L_DOUBLE dRightMarg;
L_DOUBLE dLeftMarg;
L_DOUBLE dPaperWidth;
L_DOUBLE dPaperHeight;
L_INT nXResolution;
L_INT nYResolution;
} FILERTFOPTIONS, * pFILERTFOPTIONS;
The FILERTFOPTIONS structure provides information on loading RTF files in LEADTOOLS.
The following functions make use of this structure:
Member |
Description |
uStructSize |
Size of the structure. This must be set before passing this structure to the LEAD functions. Use sizeof(FILERTFOPTIONS). |
dTopMarg |
Value that represents the width of the top margin. |
dBottomMarg |
Value that represents the width of the bottom margin. |
dRightMarg |
Value that represents the width of the right margin. |
dLeftMarg |
Value that represents the width of the left margin. |
dPaperWidth |
Value that represents the width of the paper. |
dPaperHeight |
Value that represents the height of the paper. |
nXResolution |
Value that represents the width of the image. Default is 96 pixels. |
nYResolution |
Value that represents the height of the image. Default is 96 pixels. |
Comments
pFILERTFOPTIONS is a pointer to a FILERTFOPTIONS structure.
Use L_SetRTFOptions and L_GetRTFOptions to set and get the RTF file options.