VintaSoft Imaging .NET SDK 14.0: 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 System.Int32, _
    ByVal y
    The y coordinate.
    As System.Int32, _
    ByVal width
    The width.
    As System.Int32, _
    ByVal height
    The height.
    As System.Int32, _
    ByVal lockMode
    The lock mode.
    As BitmapLockMode, _
    ByVal pixelFormat
    The pixel format.
    As PixelFormat _
    ) As VintasoftBitmapData
    public VintasoftBitmapData Lock(
    System.Int32 x,
    System.Int32 y,
    System.Int32 width,
    System.Int32 height,
    BitmapLockMode lockMode,
    PixelFormat pixelFormat
    )
    public: VintasoftBitmapData* Lock(
    System.Int32 x,
    System.Int32 y,
    System.Int32 width,
    System.Int32 height,
    BitmapLockMode lockMode,
    PixelFormat pixelFormat
    )
    public:
    VintasoftBitmapData^ Lock(
    System.Int32 x,
    System.Int32 y,
    System.Int32 width,
    System.Int32 height,
    BitmapLockMode lockMode,
    PixelFormat pixelFormat
    )

    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: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also