MESCIUS SPREAD for Windows Forms 17.0J
CreateImageData(Int32,Int32,Int32,IntPtr) メソッド

新しい画像の幅(ピクセル単位)。
新しい画像の高さ(ピクセル単位)。
1つのスキャンラインの先頭と次のスキャンラインの間のバイトオフセットを指定する整数。
ピクセルデータを含むバイトの配列へのポインタ。
画像データを作成します。
構文
'Declaration
 
Public Overloads Overridable Function CreateImageData( _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal stride As Integer, _
   ByVal scan0 As IntPtr _
) As Stream
public virtual Stream CreateImageData( 
   int width,
   int height,
   int stride,
   IntPtr scan0
)

パラメータ

width
新しい画像の幅(ピクセル単位)。
height
新しい画像の高さ(ピクセル単位)。
stride
1つのスキャンラインの先頭と次のスキャンラインの間のバイトオフセットを指定する整数。
scan0
ピクセルデータを含むバイトの配列へのポインタ。

戻り値の型

画像のバイナリストリームデータ。
参照

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

 

 


© MESCIUS inc. All rights reserved.