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;
} FILERTFOPTIONS, L_FAR * pFILERTFOPTIONS;

The FILERTFOPTIONS structure provides information on loading RTF files in LEADTOOLS.

The following functions make use of this structure:

L_GetRTFOptions

L_SetRTFOptions

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.

Comments

pFILERTFOPTIONS is a pointer to a FILERTFOPTIONS structure.

Use L_SetRTFOptions and L_GetRTFOptions to set and get the RTF file options.