VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging Namespace / VintasoftBitmap Class / GetRowWidthInBytes Methods / GetRowWidthInBytes(Int32,Int32) Method
Syntax Requirements SeeAlso
In This Topic
    GetRowWidthInBytes(Int32,Int32) Method (VintasoftBitmap)
    In This Topic
    Calculates a row width, in bytes.
    Syntax
    'Declaration
    
    Public Overloads Shared Function GetRowWidthInBytes( _
    ByVal bitsPerPixel
    Image pixel format.
    As Integer, _
    ByVal width
    Row width, in pixels.
    As Integer _
    ) As Integer
    public static int GetRowWidthInBytes(
    int bitsPerPixel,
    int width
    )
    public: static int GetRowWidthInBytes(
    int bitsPerPixel,
    int width
    )
    public:
    static int GetRowWidthInBytes(
    int bitsPerPixel,
    int width
    )

    Parameters

    bitsPerPixel
    Image pixel format.
    width
    Row width, in pixels.

    Return Value

    Image row length, in bytes.
    Requirements

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

    See Also