-- Autogenerated by MSIL2Ada v. 2
-- By: Martin C. Carlisle
--     Department of Computer Science
--     US Air Force Academy
--     carlislem@acm.org
pragma Extensions_Allowed(On);
with MSSyst.Object;
with MSIL_Types;
use MSIL_Types;
with type MSSyst.Runtime.Serialization.ISerializable.Ref is access;
with type MSSyst.ICloneable.Ref is access;
with type MSSyst.IDisposable.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.Runtime.Remoting.ObjRef.Ref is access;
with type MSSyst.Type_k.Ref is access;
with MSSyst.Guid;
with type MSSyst.Drawing.Imaging.ColorPalette.Ref is access;
with type MSSyst.Drawing.SizeF.Valuetype is tagged;
with MSSyst.Drawing.Imaging.PixelFormat;
with type MSSyst.Drawing.Imaging.PropertyItem.Ref_array is access;
with type MSSyst.Drawing.Imaging.ImageFormat.Ref is access;
with type MSSyst.Drawing.Size.Valuetype is tagged;
with type MSSyst.Drawing.RectangleF.Valuetype is tagged;
with MSSyst.Drawing.GraphicsUnit;
with type MSSyst.Drawing.Imaging.EncoderParameters.Ref is access;
with type MSSyst.Drawing.Imaging.FrameDimension.Ref is access;
with type MSSyst.Drawing.Imaging.MetafileHeader.Ref is access;
with type MSSyst.Drawing.Imaging.WmfPlaceableFileHeader.Ref is access;
with type MSSyst.String.Ref is access;
with type MSSyst.IO.Stream.Ref is access;
with type MSSyst.Drawing.Imaging.PropertyItem.Ref is access;
with type MSSyst.Drawing.Image.Ref is access;
with type MSSyst.Drawing.Image.GetThumbnailImageAbort.Ref is access;
with MSSyst.Drawing.Imaging.EmfPlusRecordType;
with MSSyst.Drawing.RotateFlipType;
with type MSSyst.Drawing.Imaging.ImageCodecInfo.Ref is access;
with MSSyst.Drawing.Imaging.EmfType;
with MSSyst.Drawing.Imaging.MetafileFrameUnit;
with type MSSyst.Drawing.Rectangle.Valuetype is tagged;
with MSSyst.Drawing.Image;
package MSSyst.Drawing.Imaging.Metafile is
   type Typ;
   type Ref is access all Typ'Class;
   type Ref_addrof is access all Ref;
   type Ref_Arr is array(Natural range <>) of Ref;
   type Ref_Array is access all Ref_Arr;
   type Ref_Array_addrof is access all Ref_Array;
   type Typ(
         I_ISerializable : MSSyst.Runtime.Serialization.ISerializable.Ref;
         I_ICloneable : MSSyst.ICloneable.Ref;
         I_IDisposable : MSSyst.IDisposable.Ref
      ) is new MSSyst.Drawing.Image.Typ(
         I_ISerializable => I_ISerializable,
         I_ICloneable => I_ICloneable,
         I_IDisposable => I_IDisposable
      ) with record
      null;
   end record;
   function new_Metafile(
      This : Ref := null;
      hmetafile : MSIL_Types.native_int;
      wmfHeader : MSSyst.Drawing.Imaging.WmfPlaceableFileHeader.Ref) return Ref;
   function new_Metafile(
      This : Ref := null;
      hmetafile : MSIL_Types.native_int;
      wmfHeader : MSSyst.Drawing.Imaging.WmfPlaceableFileHeader.Ref;
      deleteWmf : Standard.Boolean) return Ref;
   function new_Metafile(
      This : Ref := null;
      henhmetafile : MSIL_Types.native_int;
      deleteEmf : Standard.Boolean) return Ref;
   function new_Metafile(
      This : Ref := null;
      filename : MSSyst.String.Ref) return Ref;
   function new_Metafile(
      This : Ref := null;
      stream : MSSyst.IO.Stream.Ref) return Ref;
   function new_Metafile(
      This : Ref := null;
      referenceHdc : MSIL_Types.native_int;
      emfType : MSSyst.Drawing.Imaging.EmfType.Valuetype) return Ref;
   function new_Metafile(
      This : Ref := null;
      referenceHdc : MSIL_Types.native_int;
      emfType : MSSyst.Drawing.Imaging.EmfType.Valuetype;
      description : MSSyst.String.Ref) return Ref;
   function new_Metafile(
      This : Ref := null;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.RectangleF.Valuetype) return Ref;
   function new_Metafile(
      This : Ref := null;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.RectangleF.Valuetype;
      frameUnit : MSSyst.Drawing.Imaging.MetafileFrameUnit.Valuetype) return Ref;
   function new_Metafile(
      This : Ref := null;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.RectangleF.Valuetype;
      frameUnit : MSSyst.Drawing.Imaging.MetafileFrameUnit.Valuetype;
      type_k : MSSyst.Drawing.Imaging.EmfType.Valuetype) return Ref;
   function new_Metafile(
      This : Ref := null;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.RectangleF.Valuetype;
      frameUnit : MSSyst.Drawing.Imaging.MetafileFrameUnit.Valuetype;
      type_k : MSSyst.Drawing.Imaging.EmfType.Valuetype;
      description : MSSyst.String.Ref) return Ref;
   function new_Metafile(
      This : Ref := null;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.Rectangle.Valuetype) return Ref;
   function new_Metafile(
      This : Ref := null;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.Rectangle.Valuetype;
      frameUnit : MSSyst.Drawing.Imaging.MetafileFrameUnit.Valuetype) return Ref;
   function new_Metafile(
      This : Ref := null;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.Rectangle.Valuetype;
      frameUnit : MSSyst.Drawing.Imaging.MetafileFrameUnit.Valuetype;
      type_k : MSSyst.Drawing.Imaging.EmfType.Valuetype) return Ref;
   function new_Metafile(
      This : Ref := null;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.Rectangle.Valuetype;
      frameUnit : MSSyst.Drawing.Imaging.MetafileFrameUnit.Valuetype;
      type_k : MSSyst.Drawing.Imaging.EmfType.Valuetype;
      desc : MSSyst.String.Ref) return Ref;
   function new_Metafile(
      This : Ref := null;
      fileName : MSSyst.String.Ref;
      referenceHdc : MSIL_Types.native_int) return Ref;
   function new_Metafile(
      This : Ref := null;
      fileName : MSSyst.String.Ref;
      referenceHdc : MSIL_Types.native_int;
      type_k : MSSyst.Drawing.Imaging.EmfType.Valuetype) return Ref;
   function new_Metafile(
      This : Ref := null;
      fileName : MSSyst.String.Ref;
      referenceHdc : MSIL_Types.native_int;
      type_k : MSSyst.Drawing.Imaging.EmfType.Valuetype;
      description : MSSyst.String.Ref) return Ref;
   function new_Metafile(
      This : Ref := null;
      fileName : MSSyst.String.Ref;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.RectangleF.Valuetype) return Ref;
   function new_Metafile(
      This : Ref := null;
      fileName : MSSyst.String.Ref;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.RectangleF.Valuetype;
      frameUnit : MSSyst.Drawing.Imaging.MetafileFrameUnit.Valuetype) return Ref;
   function new_Metafile(
      This : Ref := null;
      fileName : MSSyst.String.Ref;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.RectangleF.Valuetype;
      frameUnit : MSSyst.Drawing.Imaging.MetafileFrameUnit.Valuetype;
      type_k : MSSyst.Drawing.Imaging.EmfType.Valuetype) return Ref;
   function new_Metafile(
      This : Ref := null;
      fileName : MSSyst.String.Ref;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.RectangleF.Valuetype;
      frameUnit : MSSyst.Drawing.Imaging.MetafileFrameUnit.Valuetype;
      desc : MSSyst.String.Ref) return Ref;
   function new_Metafile(
      This : Ref := null;
      fileName : MSSyst.String.Ref;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.RectangleF.Valuetype;
      frameUnit : MSSyst.Drawing.Imaging.MetafileFrameUnit.Valuetype;
      type_k : MSSyst.Drawing.Imaging.EmfType.Valuetype;
      description : MSSyst.String.Ref) return Ref;
   function new_Metafile(
      This : Ref := null;
      fileName : MSSyst.String.Ref;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.Rectangle.Valuetype) return Ref;
   function new_Metafile(
      This : Ref := null;
      fileName : MSSyst.String.Ref;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.Rectangle.Valuetype;
      frameUnit : MSSyst.Drawing.Imaging.MetafileFrameUnit.Valuetype) return Ref;
   function new_Metafile(
      This : Ref := null;
      fileName : MSSyst.String.Ref;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.Rectangle.Valuetype;
      frameUnit : MSSyst.Drawing.Imaging.MetafileFrameUnit.Valuetype;
      type_k : MSSyst.Drawing.Imaging.EmfType.Valuetype) return Ref;
   function new_Metafile(
      This : Ref := null;
      fileName : MSSyst.String.Ref;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.Rectangle.Valuetype;
      frameUnit : MSSyst.Drawing.Imaging.MetafileFrameUnit.Valuetype;
      description : MSSyst.String.Ref) return Ref;
   function new_Metafile(
      This : Ref := null;
      fileName : MSSyst.String.Ref;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.Rectangle.Valuetype;
      frameUnit : MSSyst.Drawing.Imaging.MetafileFrameUnit.Valuetype;
      type_k : MSSyst.Drawing.Imaging.EmfType.Valuetype;
      description : MSSyst.String.Ref) return Ref;
   function new_Metafile(
      This : Ref := null;
      stream : MSSyst.IO.Stream.Ref;
      referenceHdc : MSIL_Types.native_int) return Ref;
   function new_Metafile(
      This : Ref := null;
      stream : MSSyst.IO.Stream.Ref;
      referenceHdc : MSIL_Types.native_int;
      type_k : MSSyst.Drawing.Imaging.EmfType.Valuetype) return Ref;
   function new_Metafile(
      This : Ref := null;
      stream : MSSyst.IO.Stream.Ref;
      referenceHdc : MSIL_Types.native_int;
      type_k : MSSyst.Drawing.Imaging.EmfType.Valuetype;
      description : MSSyst.String.Ref) return Ref;
   function new_Metafile(
      This : Ref := null;
      stream : MSSyst.IO.Stream.Ref;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.RectangleF.Valuetype) return Ref;
   function new_Metafile(
      This : Ref := null;
      stream : MSSyst.IO.Stream.Ref;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.RectangleF.Valuetype;
      frameUnit : MSSyst.Drawing.Imaging.MetafileFrameUnit.Valuetype) return Ref;
   function new_Metafile(
      This : Ref := null;
      stream : MSSyst.IO.Stream.Ref;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.RectangleF.Valuetype;
      frameUnit : MSSyst.Drawing.Imaging.MetafileFrameUnit.Valuetype;
      type_k : MSSyst.Drawing.Imaging.EmfType.Valuetype) return Ref;
   function new_Metafile(
      This : Ref := null;
      stream : MSSyst.IO.Stream.Ref;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.RectangleF.Valuetype;
      frameUnit : MSSyst.Drawing.Imaging.MetafileFrameUnit.Valuetype;
      type_k : MSSyst.Drawing.Imaging.EmfType.Valuetype;
      description : MSSyst.String.Ref) return Ref;
   function new_Metafile(
      This : Ref := null;
      stream : MSSyst.IO.Stream.Ref;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.Rectangle.Valuetype) return Ref;
   function new_Metafile(
      This : Ref := null;
      stream : MSSyst.IO.Stream.Ref;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.Rectangle.Valuetype;
      frameUnit : MSSyst.Drawing.Imaging.MetafileFrameUnit.Valuetype) return Ref;
   function new_Metafile(
      This : Ref := null;
      stream : MSSyst.IO.Stream.Ref;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.Rectangle.Valuetype;
      frameUnit : MSSyst.Drawing.Imaging.MetafileFrameUnit.Valuetype;
      type_k : MSSyst.Drawing.Imaging.EmfType.Valuetype) return Ref;
   function new_Metafile(
      This : Ref := null;
      stream : MSSyst.IO.Stream.Ref;
      referenceHdc : MSIL_Types.native_int;
      frameRect : MSSyst.Drawing.Rectangle.Valuetype;
      frameUnit : MSSyst.Drawing.Imaging.MetafileFrameUnit.Valuetype;
      type_k : MSSyst.Drawing.Imaging.EmfType.Valuetype;
      description : MSSyst.String.Ref) return Ref;
   function GetHenhmetafile(
      This : access Typ) return MSIL_Types.native_int;
   function GetMetafileHeader(
      hmetafile : MSIL_Types.native_int;
      wmfHeader : MSSyst.Drawing.Imaging.WmfPlaceableFileHeader.Ref) return MSSyst.Drawing.Imaging.MetafileHeader.Ref;
   function GetMetafileHeader(
      fileName : MSSyst.String.Ref) return MSSyst.Drawing.Imaging.MetafileHeader.Ref;
   function GetMetafileHeader(
      stream : MSSyst.IO.Stream.Ref) return MSSyst.Drawing.Imaging.MetafileHeader.Ref;
   function GetMetafileHeader(
      This : access Typ) return MSSyst.Drawing.Imaging.MetafileHeader.Ref;
   function GetMetafileHeader(
      henhmetafile : MSIL_Types.native_int) return MSSyst.Drawing.Imaging.MetafileHeader.Ref;
   procedure PlayRecord(
      This : access Typ;
      recordType : MSSyst.Drawing.Imaging.EmfPlusRecordType.Valuetype;
      flags : Integer;
      dataSize : Integer;
      data : MSIL_Types.unsigned_int8_Arr);
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_Metafile);
   pragma Import(MSIL,GetHenhmetafile,"GetHenhmetafile");
   pragma Import(MSIL,GetMetafileHeader,"GetMetafileHeader");
   pragma Import(MSIL,PlayRecord,"PlayRecord");
end MSSyst.Drawing.Imaging.Metafile;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Drawing.Imaging.Metafile,
   ".ver 1:0:3300:0 .publickeytoken=( b0 3f 5f 7f 11 d5 0a 3a )",
   "[System.Drawing]System.Drawing.Imaging.Metafile");
