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. Possible values are:
|TRUE||Call the filter.|
|FALSE||Don't call the filter.|
The font color.
The high light color. Highlight is the color used as background for the text paragraphs found in the file. If you do not want to show the highlight color, set its value to the same as
The background color. Background is the color used to fill the result image before rending the text on top of it.
The font size in points.
Character string that contains the text font face name.
Flag that indicates whether to display the text as bold. Possible values are:
|TRUE||Displays the text as bold.|
|FALSE||Displays the text as not bold.|
Flag that indicates whether to display the text as italic. Possible values are:
|TRUE||Displays the text as italic.|
|FALSE||Displays the text as not italic.|
Flag that indicates whether to display the text underlined. Possible values are:
|TRUE||Displays the text underlined.|
|FALSE||Displays the text as not underlined.|
Flag that indicates whether to display the text with a strikethrough. Possible values are:
|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. Possible values are:
|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.|
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