←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
Java
C++
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.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly