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

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

            file.Detach();
            return(header);
        }
Beispiel #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);
        }
Beispiel #4
0
        public static MetafileHeader GetMetafileHeader
            (IntPtr hmetafile, WmfPlaceableFileHeader wmfHeader)
        {
            Metafile       file   = new Metafile(hmetafile, wmfHeader);
            MetafileHeader header = file.GetMetafileHeader();

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