Bitmap for UWP
WritePixels(Int32,IntPtr,Int32,Int32) メソッド

C1.UWP.DX アセンブリ > C1.Util.DX.WIC 名前空間 > BitmapFrameEncode クラス > WritePixels メソッド : WritePixels(Int32,IntPtr,Int32,Int32) メソッド

The number of lines to encode.

A data buffer containing the pixels to copy from.
The stride of one row.
Total size in bytes of pixels to write. If == 0, size is calculated with lineCount * rowStride.

Encodes the frame scanlines.

シンタックス
'宣言
 
Public Overloads Sub WritePixels( _
   ByVal lineCount As System.Integer, _
   ByVal buffer As System.IntPtr, _
   ByVal rowStride As System.Integer, _
   Optional ByVal totalSizeInBytes As System.Integer _
) 
public void WritePixels( 
   System.int lineCount,
   System.IntPtr buffer,
   System.int rowStride,
   System.int totalSizeInBytes
)

パラメータ

lineCount

The number of lines to encode.

buffer
A data buffer containing the pixels to copy from.
rowStride
The stride of one row.
totalSizeInBytes
Total size in bytes of pixels to write. If == 0, size is calculated with lineCount * rowStride.
解説

Successive WritePixelscalls are assumed to be sequential scanline access in the output image.

参照

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