VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging Namespace / PixelManipulator Class / LockPixelsForSerialAccess Methods / LockPixelsForSerialAccess(Rectangle,BitmapLockMode) Method
Syntax Requirements SeeAlso
In This Topic
    LockPixelsForSerialAccess(Rectangle,BitmapLockMode) Method (PixelManipulator)
    In This Topic
    Locks pixels of the source image into system memory.
    Syntax
    'Declaration
    
    Public Overloads Sub LockPixelsForSerialAccess( _
    ByVal rect
    A Rectangle structure specifying the portion of the source image to lock.
    As System.Drawing.Rectangle, _
    ByVal lockMode
    An ImageLockMode enumeration specifying the access level (read/write) for the source image.
    As BitmapLockMode _
    )
    public void LockPixelsForSerialAccess(
    System.Drawing.Rectangle rect,
    BitmapLockMode lockMode
    )
    public: void LockPixelsForSerialAccess(
    System.Drawing.Rectangle* rect,
    BitmapLockMode lockMode
    )
    public:
    void LockPixelsForSerialAccess(
    System.Drawing.Rectangle^ rect,
    BitmapLockMode lockMode
    )

    Parameters

    rect
    A Rectangle structure specifying the portion of the source image to lock.
    lockMode
    An ImageLockMode enumeration specifying the access level (read/write) for the source image.
    Requirements

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

    See Also