LEADTOOLS Forms (Leadtools.Forms.DocumentWriters assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
QualityFactor Property
See Also 
Leadtools.Forms.DocumentWriters Namespace > PdfDocumentOptions Class : QualityFactor Property



The QualityFactor Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets a value that determines the degree of loss in the compression process.
This applies to JPEG compression only.

Syntax

Visual Basic (Declaration) 
Public Property QualityFactor As Integer
Visual Basic (Usage)Copy Code
Dim instance As PdfDocumentOptions
Dim value As Integer
 
instance.QualityFactor = value
 
value = instance.QualityFactor
C# 
public int QualityFactor {get; set;}
C++/CLI 
public:
property int QualityFactor {
   int get();
   void set (    int value);
}

Property Value

A QualityFactor determines the degree of loss in the compression process.

Example

For an example, refer to PdfDocumentOptions.

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)

The default value is 80.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Forms.DocumentWriters requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features