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

    Parameters

    pixelFormat
    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, 4.0, 3.5

    See Also