DioDocs for PDF
New<T> メソッド

GrapeCity.Documents.DX.Windows アセンブリ > GrapeCity.Documents.DX.Direct2D 名前空間 > Bitmap クラス : New<T> メソッド
an instance of RenderTarget
The dimension of the bitmap to create in pixels.
A pointer to an array of pixel data. The size of the array must be equal to sizeof(pixel) * Size.Width * Height.
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 Shared Function New(Of T As {New, Struct})( _
   ByVal renderTarget As RenderTarget, _
   ByVal size As Size2L, _
   ByVal pixelDatas() As T, _
   ByVal bitmapProperties As BitmapProperties _
) As Bitmap
public static Bitmap New<T>( 
   RenderTarget renderTarget,
   Size2L size,
   T[] pixelDatas,
   BitmapProperties bitmapProperties
)
where T: new(), struct

パラメータ

renderTarget
an instance of RenderTarget
size
The dimension of the bitmap to create in pixels.
pixelDatas
A pointer to an array of pixel data. The size of the array must be equal to sizeof(pixel) * Size.Width * Height.
bitmapProperties
The pixel format and dots per inch (DPI) of the bitmap to create.

型パラメータ

T
参照

Bitmap クラス
Bitmap メンバ