←Select platform

PngQualityFactor Property

Summary

Gets or sets the PNG quality factor used saving a raster image as an Open XML Paper Specification (XPS) document.

Syntax
C#
VB
C++
Java
public int PngQualityFactor {get; set;} 
Public Property PngQualityFactor As Integer 
public int getPngQualityFactor() 
public void setPngQualityFactor(int qualityFactor) 
public: 
property int PngQualityFactor { 
   int get(); 
   void set (    int ); 
} 

Property Value

Any value between 0 and 10. 0 = (default compression), 1 (fastest compression) to 9 (highest compression ratio), 10 (no compression).

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

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly