WriteableBitmapExtensionsGetReadWriteBitmapData(WriteableBitmap, WorkingColorSpace) Method
Namespace: KGySoft.Drawing.WinUIAssembly: KGySoft.Drawing.WinUI (in KGySoft.Drawing.WinUI.dll) Version: 9.0.0
public static IReadWriteBitmapData GetReadWriteBitmapData(
this WriteableBitmap bitmap,
WorkingColorSpace workingColorSpace
)
<ExtensionAttribute>
Public Shared Function GetReadWriteBitmapData (
bitmap As WriteableBitmap,
workingColorSpace As WorkingColorSpace
) As IReadWriteBitmapData
public:
[ExtensionAttribute]
static IReadWriteBitmapData^ GetReadWriteBitmapData(
WriteableBitmap^ bitmap,
WorkingColorSpace workingColorSpace
)
[<ExtensionAttribute>]
static member GetReadWriteBitmapData :
bitmap : WriteableBitmap *
workingColorSpace : WorkingColorSpace -> IReadWriteBitmapData
- bitmap WriteableBitmap
- A WriteableBitmap instance, whose data is about to be accessed.
- workingColorSpace WorkingColorSpace
- Specifies the preferred color space that should be used when working with the result bitmap data. Determines the behavior
of some operations such as drawing another bitmap into the returned instance by the DrawInto methods.
See the Remarks section of the WorkingColorSpace enumeration for more details.
IReadWriteBitmapDataAn
IReadWriteBitmapData instance, which provides fast read-write access to the actual data of the specified
bitmap.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).