ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 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.

In This Topic
    WritePixels(Int32,DataRectangle,Int32) Method
    In This Topic

    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