←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#
C++
Java
public int PngQualityFactor {get; set;} 
public int getPngQualityFactor() 
public void setPngQualityFactor(int qualityFactor) 
public: 
property int PngQualityFactor { 
   int get(); 
   void set (    int ); 

Property Value

Value Description
0 Default compression
1 Fastest compression
3 Default value
9 Highest compression ratio
10 No compression
0-10.0 Value Range
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 22.0.2022.10.14
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.