This documentation is for the old version. Go to the latest Graphics Mill docs

Bitmap.CompressSerializedData Property

Gets/sets a value that specifies whether to compress data during serialization.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Property CompressSerializedData As Boolean
C#
public bool CompressSerializedData { get; set; }

Property Value

A Boolean value which specifies whether to compress serialized data. Default value is false.

Remarks

Compression reduces the serialized data size, however it takes more CPU resources. That's why it is recommended to use compression only when the size is an actual bottleneck, for example, if you transfer this data through the slow network connection. If the serialization speed is more important that the size (e.g. on the local machine), it is better to disable the compression.

See Also

Reference