Text2BitCoder property (ILEADRasterIO)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

MRCText2BitCoderConstants Text2BitCoder

Overview

Refer to Working with the MRC Bitmap.

Remarks

(Document/Medical only) (Persistent property, available at design time) ) Indicates the type of text 2 bit compression to be used when saving a T44 file. The default value is MRC_TEXT_COMPRESSION_JBIG_2BIT. This value is valid only when saving in the LEAD Proprietary T44 format using the Save method. This property is used only if FILE_LEAD_MRC, FILE_TIF_LEAD_MRC, or FILE_PDF_LEAD_MRC is set in the lFormat parameter of either the Save or SaveList methods. Possible values are:

Setting

Description

MRC_TEXT_COMPRESSION_JBIG_2BIT

[0x00] JBIG 2-bit compression. This flag is used only if FILE_LEAD_MRC or FILE_TIF_LEAD_MRC is set in the lFormat parameter of either the Save or SaveList methods.

MRC_TEXT_COMPRESSION_GIF_2BIT

[0x01] GIF 2-bit compression. This flag is used only if FILE_LEAD_MRC or FILE_TIF_LEAD_MRC is set in the lFormat parameter of either the Save or SaveList methods.

MRC_PDF_TEXT_COMPRESSION_ZIP

[0x02] ZIP compression. This flag is used only if FILE_PDF_LEAD_MRC is set in the lFormat parameter of either the Save or SaveList methods.

MRC_PDF_TEXT_COMPRESSION_LZW

[0x03] LZW compression. This flag is used only if FILE_PDF_LEAD_MRC is set in the lFormat parameter of either the Save or SaveList methods.

When saving in standard T44 format using the SaveT44 method, the only valid picture compression is MRC_PICTURE_COMPRESSION_JPEG.

See Also

Elements

Save method, Grayscale8BitCoder property, Grayscale8BitQFactor property

Topics

Saving Capabilities

 

Raster Images: Saving a Page