typedef struct _FILETXTOPTIONS
} FILETXTOPTIONS, * pFILETXTOPTIONS;
The FILETXTOPTIONS structure provides information on loading TXT files in LEADTOOLS.
Size of the structure. This must be set before passing this structure to the LEAD functions. Use sizeof(FILETXTOPTIONS) to calculate this value.
Flag that indicates whether to call the filter.
|TRUE||Call the filter.|
|FALSE||Don't call the filter.|
The font color.
The high light color.
The font size.
Character string that contains the text font face name.
Flag that indicates whether to display the text as bold.
|TRUE||Displays the text as bold.|
|FALSE||Displays the text as not bold.|
Flag that indicates whether to display the text as italic.
|TRUE||Displays the text as italic.|
|FALSE||Displays the text as not italic.|
Flag that indicates whether to display the text underlined.
|TRUE||Displays the text underlined.|
|FALSE||Displays the text as not underlined.|
Flag that indicates whether to display the text with a strikethrough.
|TRUE||Displays the text with a strikethrough.|
|FALSE||Displays the text without a strikethrough.|
Flag that indicates whether to use the system's current locale setting when loading TEXT files.
|TRUE||System's current locale setting will be used. The toolkit will use the local code page used when loading the TEXT files.|
|For more information about code pages and locale setting, refer the Windows SDK documentation.|
|FALSE||ANSI encoding will be used. This is the default value.|
The background color. Background is the color used to fill the result image before rending the text on top of it.
pFILETXTOPTIONS is a pointer to a FILETXTOPTIONS structure.
Text 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.
The structure is used by:
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries