This documentation is for the old version. Go to the latest Graphics Mill docs

StreamWrapper.LockRegion Method

Restricts access to a specified range of bytes in the stream.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Overridable Sub LockRegion ( _
	libOffset As Long, _
	cb As Long, _
	dwLockType As Integer _
)
C#
public virtual void LockRegion(
	long libOffset,
	long cb,
	int dwLockType
)

Parameters

libOffset

Type: System.Int64

The byte offset for the beginning of the range.
cb

Type: System.Int64

The length of the range, in bytes, to restrict.
dwLockType

Type: System.Int32

The requested restrictions on accessing the range.

Remarks

For more information, please see the existing documentation for IStream::LockRegion in the MSDN library.

See Also

Reference