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




Gets or sets the compression quality for JPEG, CMP and CMW compression.

Syntax

Visual Basic (Declaration) 
Public Property Grayscale8BitFactor As Integer
Visual Basic (Usage)Copy Code
Dim instance As MrcCompressionOptions
Dim value As Integer
 
instance.Grayscale8BitFactor = value
 
value = instance.Grayscale8BitFactor
C# 
public int Grayscale8BitFactor {get; set;}
Managed Extensions for C++ 
public: __property int get_Grayscale8BitFactor();
public: __property void set_Grayscale8BitFactor( 
   int value
);
C++/CLI 
public:
property int Grayscale8BitFactor {
   int get();
   void set (int value);
}

Return Value

Possible values are between 2 and 255, where 2 are the highest quality and 255 is the most compression.

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 8-bit grayscale segments are treated as picture segments.

If the Grayscale8BitCoder property is CMW or JPEG lossless compression, this property should be 0. 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