Bitmap for WPF
Create(DeviceContext,Size2L,DataStream,Int32,BitmapProperties1) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.Direct2D 名前空間 > Bitmap1 クラス > Create メソッド : Create(DeviceContext,Size2L,DataStream,Int32,BitmapProperties1) メソッド
an instance of RenderTarget
The dimension of the bitmap to create in pixels.
A pointer to the memory location of the image data, or NULL to create an uninitialized bitmap.
The byte count of each scanline, which is equal to (the image width in pixels * the number of bytes per pixel) + memory padding. If srcData is NULL, this value is ignored. (Note that pitch is also sometimes called stride.)
The pixel format and dots per inch (DPI) of the bitmap to create.
Creates a Direct2D bitmap from a pointer to in-memory source data.
シンタックス
'宣言
 
Public Overloads Shared Function Create( _
   ByVal deviceContext As DeviceContext, _
   ByVal size As Size2L, _
   ByVal dataStream As DataStream, _
   ByVal pitch As System.Integer, _
   ByVal bitmapProperties As BitmapProperties1 _
) As Bitmap1
public static Bitmap1 Create( 
   DeviceContext deviceContext,
   Size2L size,
   DataStream dataStream,
   System.int pitch,
   BitmapProperties1 bitmapProperties
)

パラメータ

deviceContext
an instance of RenderTarget
size
The dimension of the bitmap to create in pixels.
dataStream
A pointer to the memory location of the image data, or NULL to create an uninitialized bitmap.
pitch
The byte count of each scanline, which is equal to (the image width in pixels * the number of bytes per pixel) + memory padding. If srcData is NULL, this value is ignored. (Note that pitch is also sometimes called stride.)
bitmapProperties
The pixel format and dots per inch (DPI) of the bitmap to create.
参照

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