| Visual Basic (Declaration) | |
|---|---|
Public Property PngQualityFactor As Integer | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public int PngQualityFactor {get; set;} | |
Return Value
Any value betwee 0 and 9. 0 = (default compression), 1 (fastest compression) ... 9 (highest compression ratio). Default value is 3.For an example, refer to CodecsXpsOptions.
The RasterCodecs object will use the PngQualityFactor value when images are
saved with the RasterImageFormat.Xps format.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family