29 references to GetMetafileHeader
System.Drawing.Common.Tests (29)
mono\System.Imaging\MetafileTest.cs (10)
95MetafileHeader header1 = mf.GetMetafileHeader(); 101MetaHeader mh2 = mf.GetMetafileHeader().WmfHeader; 110MetafileHeader header1 = mf.GetMetafileHeader(); 116MetaHeader mh2 = mf.GetMetafileHeader().WmfHeader; 126MetafileHeader header1 = mf.GetMetafileHeader(); 132MetaHeader mh2 = mf.GetMetafileHeader().WmfHeader; 162MetafileHeader header1 = mf.GetMetafileHeader(); 171MetafileHeader header1 = mf.GetMetafileHeader(); 181MetafileHeader header1 = mf.GetMetafileHeader(); 190MetafileHeader mh = mf.GetMetafileHeader();
System\Drawing\Imaging\MetafileTests.cs (19)
126AssertEmfType(metafile.GetMetafileHeader(), emfType); 218AssertEmfType(metafile.GetMetafileHeader(), emfType); 258AssertEmfType(metafile.GetMetafileHeader(), emfType); 358AssertEmfType(metafile.GetMetafileHeader(), emfType); 375AssertEmfType(metafile.GetMetafileHeader(), EmfType.EmfPlusDual); 483AssertEmfType(metafile.GetMetafileHeader(), emfType); 501AssertEmfType(metafile.GetMetafileHeader(), EmfType.EmfOnly); 519AssertEmfType(metafile.GetMetafileHeader(), EmfType.EmfOnly); 567AssertEmfType(metafile.GetMetafileHeader(), emfType); 585AssertEmfType(metafile.GetMetafileHeader(), EmfType.EmfOnly); 603AssertEmfType(metafile.GetMetafileHeader(), EmfType.EmfOnly); 751AssertEmfType(metafile.GetMetafileHeader(), emfType); 764AssertEmfType(metafile.GetMetafileHeader(), EmfType.EmfOnly); 777AssertEmfType(metafile.GetMetafileHeader(), EmfType.EmfOnly); 889MetafileHeader headerA = metafile.GetMetafileHeader(); 890MetafileHeader headerB = metafile.GetMetafileHeader(); 901AssertExtensions.Throws<ArgumentException>(null, () => metafile.GetMetafileHeader()); 963AssertMetafileHeaderIsBlank(metafile.GetMetafileHeader()); 983AssertMetafileHeader(metafile.GetMetafileHeader());