VintaSoft Twain .NET SDK 15.4: 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 Integer _
) As Integer
public static int GetRowWidthInBytes(
PixelFormat pixelFormat,
int width
)

Parameters

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

Return Value

Image row length, in bytes.
Requirements

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

See Also