Class EmfRecordSignature
Describes one record in an EMF stream.
Inherited Members
Namespace: DRIT.Drawing.Metafile
Assembly: DRIT.Drawing.dll
Syntax
public sealed class EmfRecordSignature
Constructors
EmfRecordSignature()
Initializes an empty EmfRecordSignature instance.
Declaration
public EmfRecordSignature()
Properties
Index
Gets the zero-based record index.
Declaration
public int Index { get; }
Property Value
| Type | Description |
|---|---|
| int |
Offset
Gets the byte offset of the record.
Declaration
public long Offset { get; }
Property Value
| Type | Description |
|---|---|
| long |
Operation
Gets the parsed operation metadata, when the record format is recognized.
Declaration
public EmfOperation Operation { get; }
Property Value
| Type | Description |
|---|---|
| EmfOperation |
PayloadHash
Gets the SHA-256 hash of the record payload.
Declaration
public string PayloadHash { get; }
Property Value
| Type | Description |
|---|---|
| string |
PayloadLength
Gets the payload length excluding the eight-byte record header.
Declaration
public int PayloadLength { get; }
Property Value
| Type | Description |
|---|---|
| int |
Size
Gets the record size declared by the EMF stream.
Declaration
public uint Size { get; }
Property Value
| Type | Description |
|---|---|
| uint |
Type
Gets the numeric EMF record type.
Declaration
public uint Type { get; }
Property Value
| Type | Description |
|---|---|
| uint |
Methods
ToString()
Returns a readable record signature.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |