←Select platform

CompressOnSerialize Property

Summary

Gets or sets a value that indicate whether to use compression when serializing a RasterImage object.

Syntax
C#
VB
C++
public static bool CompressOnSerialize { get; set; } 
Public Shared Property CompressOnSerialize As Boolean 
public: 
static property bool CompressOnSerialize { 
   bool get(); 
   void set (    bool ); 
} 

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

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly