Table of Contents

Method Lock

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Windows.Core.dll

Lock(IBitmap, BitmapLockOptions)

public static IBitmapLock Lock(this IBitmap bitmap, BitmapLockOptions lockOptions)

Parameters

bitmap IBitmap
lockOptions BitmapLockOptions

Returns

IBitmapLock

Lock<TPixel>(IBitmap<TPixel>, BitmapLockOptions)

public static IBitmapLock<TPixel> Lock<TPixel>(this IBitmap<TPixel> bitmap, BitmapLockOptions lockOptions) where TPixel : unmanaged, INaturalPixelInfo

Parameters

bitmap IBitmap<TPixel>
lockOptions BitmapLockOptions

Returns

IBitmapLock<TPixel>

Type Parameters

TPixel