WmfPlaceableFileHeader
Defines a placeable metafile. Not inheritable.
using System.Runtime.InteropServices;
using Windows.Win32.Graphics.GdiPlus;
namespace System.Drawing.Imaging
{
[StructLayout(LayoutKind.Sequential)]
public sealed class WmfPlaceableFileHeader
{
internal global::Windows.Win32.Graphics.GdiPlus.WmfPlaceableFileHeader _header;
public int Key {
get {
return (int)_header.Key;
}
set {
_header.Key = (uint)value;
}
}
public short Hmf {
get {
return _header.Hmf;
}
set {
_header.Hmf = value;
}
}
public short BboxLeft {
get {
return _header.BoundingBox.Left;
}
set {
_header.BoundingBox.Left = value;
}
}
public short BboxTop {
get {
return _header.BoundingBox.Top;
}
set {
_header.BoundingBox.Top = value;
}
}
public short BboxRight {
get {
return _header.BoundingBox.Right;
}
set {
_header.BoundingBox.Right = value;
}
}
public short BboxBottom {
get {
return _header.BoundingBox.Bottom;
}
set {
_header.BoundingBox.Bottom = value;
}
}
public short Inch {
get {
return _header.Inch;
}
set {
_header.Inch = value;
}
}
public int Reserved {
get {
return (int)_header.Reserved;
}
set {
_header.Reserved = (uint)value;
}
}
public short Checksum {
get {
return _header.Checksum;
}
set {
_header.Checksum = value;
}
}
public WmfPlaceableFileHeader()
{
_header.Key = 2596720087;
}
}
}