Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
QualityFactor Property
See Also 
Leadtools.Codecs Namespace > CodecsPngOptions.CodecsPngSaveOptions Class : QualityFactor Property



Gets or 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 CodecsPngOptions.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);
}

Return Value

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

Example

For an example, refer to CodecsPngOptions.

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also