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
Available since 1.1
Return to top
Show: