Bitmap for WPF
CopyFromBitmap(Bitmap) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.Direct2D 名前空間 > Bitmap クラス > CopyFromBitmap メソッド : CopyFromBitmap(Bitmap) メソッド
Copies the specified region from the specified bitmap into the current bitmap.
シンタックス
'宣言
 
Public Overloads Sub CopyFromBitmap( _
   ByVal bitmap As Bitmap _
) 
public void CopyFromBitmap( 
   Bitmap bitmap
)

パラメータ

bitmap

戻り値の型

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
解説
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion, and will fail if the bitmap formats do not match. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing System.Int32and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}.
参照

Bitmap クラス
Bitmap メンバ
オーバーロード一覧