VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging Namespace / PixelManipulator Class / Write1BppRowFrom8BppData(Int32,Int32,Byte[],Int32,Byte,Byte) Method
Syntax Requirements SeeAlso
In This Topic
    Write1BppRowFrom8BppData(Int32,Int32,Byte[],Int32,Byte,Byte) Method (PixelManipulator)
    In This Topic
    Writes 1-bpp row from a 8-bpp buffer.
    Syntax
    'Declaration
    
    Public Sub Write1BppRowFrom8BppData( _
    ByVal width
    The row width in pixels.
    As System.Int32, _
    ByVal row
    The zero-based row index.
    As System.Int32, _
    ByVal buffer
    The 8-bpp buffer from which data must be read.
    () As Byte, _
    ByVal bufferIndex
    The zero-based start index in buffer to read.
    As System.Int32, _
    ByVal color0Value
    The 8-bpp value that represents 0 value in 1-bpp data.
    As Byte, _
    ByVal color1Value
    The 8-bpp value that represents 1 value in 1-bpp data.
    As Byte _
    )
    public void Write1BppRowFrom8BppData(
    System.Int32 width,
    System.Int32 row,
    byte[] buffer,
    System.Int32 bufferIndex,
    byte color0Value,
    byte color1Value
    )
    public: void Write1BppRowFrom8BppData(
    System.Int32 width,
    System.Int32 row,
    byte[]* buffer,
    System.Int32 bufferIndex,
    byte color0Value,
    byte color1Value
    )
    public:
    void Write1BppRowFrom8BppData(
    System.Int32 width,
    System.Int32 row,
    array<byte>^ buffer,
    System.Int32 bufferIndex,
    byte color0Value,
    byte color1Value
    )

    Parameters

    width
    The row width in pixels.
    row
    The zero-based row index.
    buffer
    The 8-bpp buffer from which data must be read.
    bufferIndex
    The zero-based start index in buffer to read.
    color0Value
    The 8-bpp value that represents 0 value in 1-bpp data.
    color1Value
    The 8-bpp value that represents 1 value in 1-bpp data.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also