コード例 #1
0
ファイル: Metafile.cs プロジェクト: wenchaoli/corefx
        /*
         * Create a new metafile object from a native metafile handle.
         * This is only for internal purpose.
         */
        internal static Metafile FromGDIplus(IntPtr nativeImage)
        {
            Metafile metafile = new Metafile();

            metafile.SetNativeImage(nativeImage);
            return(metafile);
        }
コード例 #2
0
 /*
  * Create a new metafile object from a native metafile handle.
  * This is only for internal purpose.
  */
 internal static Metafile FromGDIplus(IntPtr nativeImage) {
     Metafile metafile = new Metafile();
     metafile.SetNativeImage(nativeImage);
     return metafile;
 }