←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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.