←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) 
get_QualityFactor(); 
set_QualityFactor(value); 
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Forms.DocumentWriters Assembly
Click or drag to resize