←Select platform

QualityFactor Property

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public int QualityFactor { get; set; } 
Public Property QualityFactor As Integer 
public int QualityFactor {get; set;} 
@property (nonatomic, assign) NSInteger qualityFactor 
public int getQualityFactor() 
public void setQualityFactor(int qualityFactor) 
             
 <br/>get_QualityFactor();<br/>set_QualityFactor(value);<br/>Object.defineProperty('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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.DocumentWriters Assembly