VintaSoft Imaging .NET SDK 14.0: Documentation for Web 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 Vintasoft.Imaging.PixelFormat, _
    ByVal width
    Row width, in pixels.
    As Integer _
    ) As Integer
    public static int GetRowWidthInBytes(
    Vintasoft.Imaging.PixelFormat pixelFormat,
    int width
    )
    public: static int GetRowWidthInBytes(
    Vintasoft.Imaging.PixelFormat pixelFormat,
    int width
    )
    public:
    static int GetRowWidthInBytes(
    Vintasoft.Imaging.PixelFormat pixelFormat,
    int 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

    See Also