Visual Basic (Declaration) | |
---|---|
Public Property QualityFactor As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int QualityFactor {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property int get_QualityFactor(); public: __property void set_QualityFactor( int value ); |
Return Value
The Quality Factor to use when saving JPEG and LEAD CMP compressed images.For an example, refer to CodecsJpegOptions.
You can set a value from 2 to 255, where 2 is the highest quality and 255 is the most compression.
You can also use a factor of 0 to produce lossless JPEG files.
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