Gets or sets the JPEG quality factor used saving a raster image as an Open XML Paper Specification (XPS) document.
public int JpegQualityFactor {get; set;}
Public Property JpegQualityFactor As Integer
public int getJpegQualityFactor()
public void setJpegQualityFactor(int qualityFactor)
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).
The RasterCodecs object will use the JpegQualityFactor value when images are saved with the following formats:
For an example, refer to CodecsXpsOptions.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET