VintaSoft Twain .NET SDK 15.4: Documentation for .NET developer
Vintasoft.Imaging Namespace / VintasoftBitmap Class / Lock Methods / Lock(Int32,Int32,Int32,Int32,BitmapLockMode,PixelFormat) Method
Syntax Requirements SeeAlso
In This Topic
Lock(Int32,Int32,Int32,Int32,BitmapLockMode,PixelFormat) Method (VintasoftBitmap)
In This Topic
Locks the bitmap data.
Syntax
'Declaration

Public Overloads Function Lock( _
ByVal x
The x coordinate.
As Integer, _
ByVal y
The y coordinate.
As Integer, _
ByVal width
The width.
As Integer, _
ByVal height
The height.
As Integer, _
ByVal lockMode
The lock mode.
As BitmapLockMode, _
ByVal pixelFormat
The pixel format.
As PixelFormat _
) As VintasoftBitmapData

Parameters

x
The x coordinate.
y
The y coordinate.
width
The width.
height
The height.
lockMode
The lock mode.
pixelFormat
The pixel format.

Return Value

A new instance of VintasoftBitmapData.
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