LEADTOOLS MRC (Leadtools.Mrc assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
PictureQualityFactor Property
See Also 
Leadtools.Mrc Namespace > MrcCompressionOptions Structure : PictureQualityFactor Property



The PictureQualityFactor Property is available in LEADTOOLS Document and Medical Imaging toolkits.

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

Syntax

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

Property Value

Possible values are between 2 and 255, where 2 is the highest quality and 255 is the most compression. If the PictureCoder is CMW or JPEG lossless compression, the PictureQualityFactor should be 0.

Example

Refer to MrcSegmenter.SaveImage example.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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