Redigera

Dela via


WmfPlaceableFileHeader.Checksum Property

Definition

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

public:
 property short Checksum { short get(); void set(short value); };
public short Checksum { get; set; }
member this.Checksum : int16 with get, set
Public Property Checksum As Short

Property Value

The checksum value for the previous ten WORD s in the header.

Remarks

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.

Applies to