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.
Visual Basic (Declaration) | |
---|---|
Public Property QualityFactor As Integer |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As PdfDocumentOptions Dim value As Integer instance.QualityFactor = value value = instance.QualityFactor |
C# | |
---|---|
public int QualityFactor {get; set;} |
Property Value
A QualityFactor determines the degree of loss in the compression process.For an example, refer to PdfDocumentOptions.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7