FILERTFOPTIONS

typedef struct _FILERTFOPTIONS
{
   L_UINT uStructSize;

   
L_COLORREF crBackColor;
} FILERTFOPTIONS, * pFILERTFOPTIONS;

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

Member

Description

uStructSize

Size of the structure. This must be set before passing this structure to the LEAD functions. Use sizeof(FILERTFOPTIONS).

crBackColor

The background color used when rendering RTF documents. The background color used when rendering RTF documents. Default value is "white".

Comments

pFILERTFOPTIONS is a pointer to a FILERTFOPTIONS structure.

Rich Text Format (RTF) files have no physical width or height in pixels. You can use RASTERIZEDOCOPTIONS to control how the final document is rendered as a raster image. For more information, refer to RASTERIZEDOCOPTIONS.   

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

The following functions make use of this structure:

L_GetEmfHandleFromRtf

L_GetRTFOptions

L_SetRTFOptions