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