Пример #1
0
        public static MetafileHeader GetMetafileHeader(String fileName)
        {
            Metafile       file   = new Metafile(fileName);
            MetafileHeader header = file.GetMetafileHeader();

            file.Detach();
            return(header);
        }
Пример #2
0
        public static MetafileHeader GetMetafileHeader(Stream stream)
        {
            Metafile       file   = new Metafile(stream);
            MetafileHeader header = file.GetMetafileHeader();

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

            file.Detach();
            return(header);
        }
Пример #5
0
	public static MetafileHeader GetMetafileHeader
				(IntPtr hmetafile, WmfPlaceableFileHeader wmfHeader)
			{
				Metafile file = new Metafile(hmetafile, wmfHeader);
				MetafileHeader header = file.GetMetafileHeader();
				file.Detach();
				return header;
			}
Пример #6
0
	public static MetafileHeader GetMetafileHeader(String fileName)
			{
				Metafile file = new Metafile(fileName);
				MetafileHeader header = file.GetMetafileHeader();
				file.Detach();
				return header;
			}
Пример #7
0
	public static MetafileHeader GetMetafileHeader(Stream stream)
			{
				Metafile file = new Metafile(stream);
				MetafileHeader header = file.GetMetafileHeader();
				file.Detach();
				return header;
			}
Пример #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;
			}