Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
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;}
Managed Extensions for C++ 
public: __property int get_QualityFactor();
public: __property void set_QualityFactor( 
   int value
);
C++/CLI 
public:
property int QualityFactor {
   int get();
   void set (int value);
}

Return Value

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

Example

For an example, refer to CodecsPngOptions.

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