←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
Java
C++
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly