Export (0) Print
Expand All

WmfPlaceableFileHeader.Checksum Property

Gets or sets the checksum value for the previous ten WORD s in the header.

Namespace:  System.Drawing.Imaging
Assembly:  System.Drawing (in System.Drawing.dll)

public short Checksum { get; set; }

Property Value

Type: System.Int16
The checksum value for the previous ten WORD s in the header.

This value can be used in an attempt to detect whether the metafile has become corrupted. The checksum is calculated by joining each WORD value to an initial value of 0 by using the XOR operator.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft