←Select platform

CompressOnSerialize Property

Summary
Gets or sets a value that indicate whether to use compression when serializing a RasterImage object.
Syntax
C#
C++/CLI
Python
public static bool CompressOnSerialize { get; set; } 
public: 
static property bool CompressOnSerialize { 
   bool get(); 
   void set (    bool ); 
} 
CompressOnSerialize # get and set (RasterDefaults) 

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

Leadtools Assembly

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