WritePixels(Int32,IntPtr,Int32,Int32) Method
Encodes the frame scanlines.
public void WritePixels(
System.int ,
System.IntPtr ,
System.int ,
System.int
)
'Declaration
Public Overloads Sub WritePixels( _
ByVal As System.Integer, _
ByVal As System.IntPtr, _
ByVal As System.Integer, _
Optional ByVal As System.Integer _
)
Parameters
- 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.