LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
QualityFactor Property
See Also 
Leadtools.Codecs Namespace > CodecsPngSaveOptions Class : QualityFactor Property



Gets and sets the Quality Factor for saving PNG files.

Syntax

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

Property Value

Any value between 0 and 9. 0 = (default compression), 1 (fastest compression) ... 9 (highest compression ratio).

Example

For an example, refer to CodecsPngOptions.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also