Error processing SSI file
LEADTOOLS (Leadtools assembly)

Show in webframe

CompressOnSerialize Property








Gets or sets a value that indicate whether to use compression when serializing a RasterImage object.
Syntax
public static bool CompressOnSerialize {get; set;}
'Declaration
 
Public Shared Property CompressOnSerialize As Boolean
'Usage
 
Dim value As Boolean
 
RasterDefaults.CompressOnSerialize = value
 
value = RasterDefaults.CompressOnSerialize
public static bool CompressOnSerialize {get; set;}
 <br/>get_CompressOnSerialize();<br/>set_CompressOnSerialize(value);<br/>Object.defineProperty('CompressOnSerialize'); 
public:
static property bool CompressOnSerialize {
   bool get();
   void set (    bool value);
}

Property Value

true to use compression when serializing a RasterImage object, otherwise; false. Default value is true.
Remarks

When the value of this property is true, the framework will use lossless compression when serializing a RasterImage object. This compression is very fast with very little overhead to the serialize and de-serialize speed and it decreases the size of the compressed data dramatically result in faster overall speed.

Requirements

Target Platforms

See Also

Reference

RasterDefaults Class
RasterDefaults Members

Error processing SSI file