←Select platform

QualityFactor Property

Summary

Degree of loss in the compression process. This applies to JPEG compression only.

Syntax
C#
VB
Objective-C
C++
Java
public int QualityFactor { get; set; } 
Public Property QualityFactor As Integer 
@property (nonatomic, assign) NSInteger qualityFactor 
public int getQualityFactor() 
public void setQualityFactor(int qualityFactor) 
public: 
property int QualityFactor { 
   int get(); 
   void set (    int ); 
} 

Property Value

A QualityFactor determines the degree of loss in the compression process. The default value is 80.

Remarks

QualityFactor is a number that determines the degree of loss in the compression process.

This applies to JPEG compression only.

  • 0 - Lossless

  • 2 - 255 Lossy (2 - Best Quality, 255 - Best Compression)

Example

For an example, refer to PdfDocumentOptions.

Requirements

Target Platforms

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

Leadtools.Document.Writer Assembly