Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
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;
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). |
dTopMarg |
Deprecated - No longer supported. Use RASTERIZEDOCOPTIONS instead. Value that represents the width of the top margin in inches. |
dBottomMarg |
Deprecated - No longer supported. Use RASTERIZEDOCOPTIONS instead. Value that represents the width of the bottom margin in inches. |
dRightMarg |
Deprecated - No longer supported. Use RASTERIZEDOCOPTIONS instead. Value that represents the width of the right margin in inches. |
dLeftMarg |
Deprecated - No longer supported. Use RASTERIZEDOCOPTIONS instead. Value that represents the width of the left margin in inches. |
dPaperWidth |
Deprecated - No longer supported. Use RASTERIZEDOCOPTIONS instead. Value that represents the width of the paper in inches. |
dPaperHeight |
Deprecated - No longer supported. Use RASTERIZEDOCOPTIONS instead. Value that represents the height of the paper in inches. |
nXResolution |
Deprecated - No longer supported. Use RASTERIZEDOCOPTIONS instead. Value that represents the width of the image. Default is 96 pixels. |
nYResolution |
Deprecated - No longer supported. Use RASTERIZEDOCOPTIONS instead. Value that represents the height of the image. Default is 96 pixels. |
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: