Leadtools.Mrc Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
Grayscale2BitCoder Property
See Also 
Leadtools.Mrc Namespace > MrcCompressionOptions Structure : Grayscale2BitCoder Property




Gets or sets a value that indicates the background (grayscale 2 bit) compression type.

Syntax

Visual Basic (Declaration) 
Public Property Grayscale2BitCoder As MrcGrayscaleCompression2BitCoder
Visual Basic (Usage)Copy Code
Dim instance As MrcCompressionOptions
Dim value As MrcGrayscaleCompression2BitCoder
 
instance.Grayscale2BitCoder = value
 
value = instance.Grayscale2BitCoder
C# 
public MrcGrayscaleCompression2BitCoder Grayscale2BitCoder {get; set;}
Managed Extensions for C++ 
public: __property MrcGrayscaleCompression2BitCoder get_Grayscale2BitCoder();
public: __property void set_Grayscale2BitCoder( 
   MrcGrayscaleCompression2BitCoder value
);
C++/CLI 
public:
property MrcGrayscaleCompression2BitCoder Grayscale2BitCoder {
   MrcGrayscaleCompression2BitCoder get();
   void set (MrcGrayscaleCompression2BitCoder value);
}

Return Value

All possible values are found in MrcGrayscaleCompression2BitCoder.

Example

Refer to SaveImage example.

Remarks

This property is valid only when saving in LEAD Proprietary T44 format using the SaveImage method.

When using the SaveImageT44 method, all 2-bit grayscale segments are treated as picture segments. This property is used only if MrcImageFormat.Mrc or MrcImageFormat.MrcTif is set in the format parameter of either SaveImage or SaveImageT44 methods.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Mrc requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features