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