LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

PngQualityFactor Property






Gets or sets the PNG quality factor used saving a raster image as an Open XML Paper Specification (XPS) document. .NET support
Syntax
public int PngQualityFactor {get; set;}
'Declaration
 
Public Property PngQualityFactor As Integer
'Usage
 
Dim instance As CodecsXpsSaveOptions
Dim value As Integer
 
instance.PngQualityFactor = value
 
value = instance.PngQualityFactor
public int PngQualityFactor {get; set;}
 get_PngQualityFactor();
set_PngQualityFactor(value);
public:
property int PngQualityFactor {
   int get();
   void set (    int value);
}

Property Value

Any value between 0 and 9. 0 = (default compression), 1 (fastest compression) ... 9 (highest compression ratio). Default value is 3.
Remarks
The RasterCodecs object will use the PngQualityFactor value when images are saved with the RasterImageFormat.Xps format.
Example
For an example, refer to CodecsXpsOptions.
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

CodecsXpsSaveOptions Class
CodecsXpsSaveOptions Members

 

 


Products | Support | Contact Us | Copyright Notices

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