typedef struct _DOCWRTRTFOPTIONS
{
DOCWRTOPTIONS Options;
DOCWRTTEXTMODE TextMode;
L_BOOL bFramed;
L_UINT32 uFlags;
} DOCWRTRTFOPTIONS, *pDOCWRTRTFOPTIONS;
The DOCWRTRTFOPTIONS structure provides information about RTF document files.
Member | Description | |
---|---|---|
Options | Options structure that contains options for RTF format. | |
TextMode |
Controls how and when to frames the text blocks in the resulting RTF file. Frames are containers supported by the RTF format for text that can be positioned on a page and sized. The Default value is DOCWRTTEXTMODE_AUTO. |
|
bFramed | Flag that indicates whether to use framed text. Possible values are: | |
Value | Meaning | |
TRUE | Use framed text. | |
FALSE | Do not use framed text. | |
uFlags | Flag that indicates the extra options for writing RTF files. Currently there are no flags. This is for future use. |
pDOCWRTRTFOPTIONS is a pointer to DOCWRTRTFOPTIONS structure. Generally, where a function parameter type is pDOCWRTRTFOPTIONS, you can declare a DOCWRTRTFOPTIONS variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pDOCWRTRTFOPTIONS variable is necessary only if your program requires a pointer.
Microsoft Rich Text Format (RTF). RTF provides a format for text and graphics interchange that can be used with different output devices, operating environments, and operating systems. RTF uses the American National Standards Institute (ANSI), PC-8, Macintosh, or IBM PC character set to control the representation and formatting of a document, both on the screen and in print. With the RTF Specification, documents created under different operating systems and with different software applications can be transferred between those operating systems and applications. The RTF format is the default used by Microsoft WordPad application.
The LEADTOOLS Document Writers support creating RTF documents. The following features are supported:
This structure is used with the L_DocWriterConvert and L_DocWriterInit functions.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET