GetRowWidthInBytes(Int32,Int32) Method (VintasoftBitmap)
Calculates a row width, in bytes.
public static System.Int32 GetRowWidthInBytes(
System.Int32 ,
System.Int32
)
public: static System.Int32 GetRowWidthInBytes(
System.Int32 ,
System.Int32
)
public:
static System.Int32 GetRowWidthInBytes(
System.Int32 ,
System.Int32
)
'Declaration
Public Overloads Shared Function GetRowWidthInBytes( _
ByVal As System.Int32, _
ByVal As System.Int32 _
) As System.Int32
Parameters
- bitsPerPixel
- Image pixel format.
- width
- Row width, in pixels.
Return Value
Image row length, in bytes.
Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5