The Grayscale8BitCoder Property is available in LEADTOOLS Document and Medical Imaging toolkits.
Gets or sets a value that indicates the background (grayscale 8 bit) compression type.Visual Basic (Declaration) | |
---|---|
Public Property Grayscale8BitCoder As MrcGrayscaleCompression8BitCoder |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As MrcCompressionOptions Dim value As MrcGrayscaleCompression8BitCoder instance.Grayscale8BitCoder = value value = instance.Grayscale8BitCoder |
C# | |
---|---|
public MrcGrayscaleCompression8BitCoder Grayscale8BitCoder {get; set;} |
C++/CLI | |
---|---|
public: property MrcGrayscaleCompression8BitCoder Grayscale8BitCoder { MrcGrayscaleCompression8BitCoder get(); void set ( MrcGrayscaleCompression8BitCoder value); } |
Property Value
All possible values are found in MrcGrayscaleCompression8BitCoder.Refer to MrcSegmenter.SaveImage example.
This property is valid only when saving in LEAD Proprietary T44 format using the MrcSegmenter.SaveImage method.
When using the MrcSegmenter.SaveImageT44 method, all 8-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 MrcSegmenter.SaveImage or MrcSegmenter.SaveImageT44 methods.
When using the MrcSegmenter.SaveImageT44 method, all 8-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 MrcSegmenter.SaveImage or MrcSegmenter.SaveImageT44 methods.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7