RtfToImage

Converts a page with *.rtf file to a page or pages in TIFF format.

Member of namespace

Convert

Syntax

bool RtfToImage ()

Parameters

None.

Returns

True if the file is successfully converted to a TIFF document.

False if the current page is not a Rtf Document or if there is a failure in the conversion.

If the number of input files/pages exceeds the maximum allowed or if there is a failure in the conversion, the batch is set to abort.

Level

Page level.

Details

If the current page is a Rtf Document, the file will be converted to multiple TIFF files, one TIFF file for each page within the Document, based on the settings of the other Rtf actions that configure the conversion settings.

Each new TIFF also has a new page created within the application environment which can be processed by subsequent rules. The original file name from which the page was extracted is stored in the ParentImage variable, for possible future reference in your application.

If the configured output image format and compression only supports black and white, such as CCITT4, colored text is exported as black.

Example:
RtfPrintQuality(200)
RtfTiffCompression(CCITT4)
RtfToImage()