Esempio n. 1
0
        public static MetafileHeader GetMetafileHeader(String fileName)
        {
            Metafile       file   = new Metafile(fileName);
            MetafileHeader header = file.GetMetafileHeader();

            file.Detach();
            return(header);
        }
Esempio n. 2
0
        public static MetafileHeader GetMetafileHeader(Stream stream)
        {
            Metafile       file   = new Metafile(stream);
            MetafileHeader header = file.GetMetafileHeader();

            file.Detach();
            return(header);
        }
Esempio n. 3
0
        // Convenience wrappers for "GetMetafileHeader".
        public static MetafileHeader GetMetafileHeader(IntPtr henhmetafile)
        {
            Metafile       file   = new Metafile(henhmetafile, false);
            MetafileHeader header = file.GetMetafileHeader();

            file.Detach();
            return(header);
        }
Esempio n. 4
0
        public static MetafileHeader GetMetafileHeader
            (IntPtr hmetafile, WmfPlaceableFileHeader wmfHeader)
        {
            Metafile       file   = new Metafile(hmetafile, wmfHeader);
            MetafileHeader header = file.GetMetafileHeader();

            file.Detach();
            return(header);
        }
Esempio n. 5
0
	public static MetafileHeader GetMetafileHeader
				(IntPtr hmetafile, WmfPlaceableFileHeader wmfHeader)
			{
				Metafile file = new Metafile(hmetafile, wmfHeader);
				MetafileHeader header = file.GetMetafileHeader();
				file.Detach();
				return header;
			}
Esempio n. 6
0
	public static MetafileHeader GetMetafileHeader(String fileName)
			{
				Metafile file = new Metafile(fileName);
				MetafileHeader header = file.GetMetafileHeader();
				file.Detach();
				return header;
			}
Esempio n. 7
0
	public static MetafileHeader GetMetafileHeader(Stream stream)
			{
				Metafile file = new Metafile(stream);
				MetafileHeader header = file.GetMetafileHeader();
				file.Detach();
				return header;
			}
Esempio n. 8
0
	// Convenience wrappers for "GetMetafileHeader".
	public static MetafileHeader GetMetafileHeader(IntPtr henhmetafile)
			{
				Metafile file = new Metafile(henhmetafile, false);
				MetafileHeader header = file.GetMetafileHeader();
				file.Detach();
				return header;
			}