ImageMan.Net Version 3 Summer 2012 Release
Compress Property
See Also  Send Feedback
DTI.ImageMan.Codecs Namespace > PngAttributes Class : Compress Property





Glossary Item Box

Gets or Sets the compression level for this image.

Syntax

Visual Basic (Declaration) 
Public Property Compress As System.Integer
Visual Basic (Usage)Copy Code
Dim instance As PngAttributes
Dim value As System.Integer
 
instance.Compress = value
 
value = instance.Compress
C# 
public System.int Compress {get; set;}
JScript 
public function get,set Compress : System.int
Managed Extensions for C++ 
public: __property System.int get_Compress();
public: __property void set_Compress( 
   System.int value
);
C++/CLI 
public:
property System.int Compress {
   System.int get();
   void set (    System.int value);
}

Remarks

Write Only. The compression level does not effect the quality of the image. Only the amount of time it takes to compress or decompress the image data.

Allowable range of values is 1 to 9. 9 is the most compressed. The default value is 8.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.