LEADTOOLS Forms (Leadtools.Forms.DocumentWriters assembly)
LEAD Technologies, Inc

QualityFactor Property






Gets or sets a value that determines the degree of loss in the compression process.
This applies to JPEG compression only. .NET support
Syntax
public int QualityFactor {get; set;}
'Declaration
 
Public Property QualityFactor As Integer
'Usage
 
Dim instance As PdfDocumentOptions
Dim value As Integer
 
instance.QualityFactor = value
 
value = instance.QualityFactor
public int QualityFactor {get; set;}
 get_QualityFactor();
set_QualityFactor(value);
public:
property int QualityFactor {
   int get();
   void set (    int value);
}

Property Value

A QualityFactor determines the degree of loss in the compression process.
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.

Example
For an example, refer to PdfDocumentOptions.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PdfDocumentOptions Class
PdfDocumentOptions Members
DocumentWriter Class
Programming with LEADTOOLS Document Writers
Files to be Included with Your Application
Unlocking Special LEAD Features

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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