FILERTFOPTIONS

typedef struct _FILERTFOPTIONS 
{ 
   L_UINT uStructSize; 
   L_COLORREF crBackColor; 
   L_UINT uFlags; 
} 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".
uFlags Flags for RTF files.  Possible values are:
Value Meaning
RTF_USE_MULTIPLATFORM [0x0001] If set, use the multiplatform RTF engine. If not set, use the legacy windows-only RTF engine. The multiplatform engine was introduced in v20. You can get the behavior from v19 or earlier by not setting this flag.

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 LFileSettings::SetRTFOptions and LFileSettings::GetRTFOptions to set and get the RTF file options.

The following functions make use of this structure:

LFileSettings::GetRTFOptions

LFileSettings::SetRTFOptions

Help Version 20.0.2019.12.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help