WriteableBitmapExtensionsGetReadWriteBitmapData Method

KGy SOFT Drawing Libraries Help
Gets a managed read-write accessor for a WriteableBitmap instance.

Namespace:  KGySoft.Drawing.WinUI
Assembly:  KGySoft.Drawing.WinUI (in KGySoft.Drawing.WinUI.dll) Version: 7.0.0-preview.2
Syntax

public static IReadWriteBitmapData GetReadWriteBitmapData(
	this WriteableBitmap bitmap
)

Parameters

bitmap
Type: WriteableBitmap
A WriteableBitmap instance, whose data is about to be accessed.

Return Value

Type: IReadWriteBitmapData
An IReadWriteBitmapData instance, which provides fast read-write access to the actual data of the specified bitmap.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type WriteableBitmap. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference