ComponentOne Bitmap for UWP
WritePixels(Int32,DataRectangle,Int32) Method

C1.UWP.DX Assembly > C1.Util.DX.WIC Namespace > BitmapFrameEncode Class > WritePixels Method : WritePixels(Int32,DataRectangle,Int32) Method

The number of lines to encode.

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

Encodes the frame scanlines.

Syntax
'Declaration
 
Public Overloads Sub WritePixels( _
   ByVal lineCount As System.Integer, _
   ByVal buffer As DataRectangle, _
   Optional ByVal totalSizeInBytes As System.Integer _
) 
public void WritePixels( 
   System.int lineCount,
   DataRectangle buffer,
   System.int totalSizeInBytes
)

Parameters

lineCount

The number of lines to encode.

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

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

See Also

Reference

BitmapFrameEncode Class
BitmapFrameEncode Members
Overload List