Leadtools.Pdf Requires PDF Plug-in license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
QFactor Property
See Also 
Leadtools.Pdf Namespace > PdfCompressorCompressionTypes Structure : QFactor Property



Gets or sets the quality factor value (valid only for JPEG compression). The default quality factor is 50.

Syntax

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

Return Value

The quality factor value (valid only for JPEG compression). The default quality factor is 50.

Example

Refer to PdfCompressor example.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Pdf requires a PDF Plug-in license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features