←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 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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Codecs Assembly
Click or drag to resize