17 references to WmfHeader
System.Drawing.Common.Tests (17)
mono\System.Imaging\MetafileTest.cs (9)
78
Assert.NotNull(header.
WmfHeader
);
79
Check_MetaHeader_WmfPlaceable(header.
WmfHeader
);
98
MetaHeader mh1 = header1.
WmfHeader
;
101
MetaHeader mh2 = mf.GetMetafileHeader().
WmfHeader
;
113
MetaHeader mh1 = header1.
WmfHeader
;
116
MetaHeader mh2 = mf.GetMetafileHeader().
WmfHeader
;
129
MetaHeader mh1 = header1.
WmfHeader
;
132
MetaHeader mh2 = mf.GetMetafileHeader().
WmfHeader
;
146
Assert.Throws<ArgumentException>(() => header.
WmfHeader
);
System\Drawing\Imaging\MetafileTests.cs (8)
999
Assert.NotNull(header.
WmfHeader
);
1009
Assert.Equal(9, header.
WmfHeader
.HeaderSize);
1010
Assert.Equal(98, header.
WmfHeader
.MaxRecord);
1011
Assert.Equal(3, header.
WmfHeader
.NoObjects);
1012
Assert.Equal(0, header.
WmfHeader
.NoParameters);
1013
Assert.Equal(1737, header.
WmfHeader
.Size);
1014
Assert.Equal((int)MetafileType.Wmf, header.
WmfHeader
.Type);
1015
Assert.Equal(0x300, header.
WmfHeader
.Version);