Visual Basic (Declaration) | |
---|---|
Public Property JpegQualityFactor As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int JpegQualityFactor {get; set;} |
Return Value
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 compressed images. Default value is 2 (Highest quality).For an example, refer to CodecsXpsOptions.
The RasterCodecs object will use the JpegQualityFactor value when images are saved with the following formats:
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family