←Select platform

JpegQualityFactor Property

Summary

Gets or sets the JPEG quality factor used saving a raster image as an Open XML Paper Specification (XPS) document.

Syntax
C#
VB
C++
Java
public int JpegQualityFactor {get; set;} 
Public Property JpegQualityFactor As Integer 
public int getJpegQualityFactor() 
public void setJpegQualityFactor(int qualityFactor) 
public: 
property int JpegQualityFactor { 
   int get(); 
   void set (    int ); 
} 

Property 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).

Remarks

The RasterCodecs object will use the JpegQualityFactor value when images are saved with the following formats:

Example

For an example, refer to CodecsXpsOptions.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly