ToBitmap() public method

public ToBitmap ( ) : Bitmap
return System.Drawing.Bitmap
コード例 #1
0
        public static Bitmap StartPaste()
        {
            currentPaste = (BiomeCopy)System.Windows.Forms.Clipboard.GetData("BiomeCopy");
            if (currentPaste == null)
            {
                return(null);
            }
            if (currentPaste.Empty)
            {
                currentPaste = null;
                return(null);
            }

            return(currentPaste.ToBitmap());
        }