WriteableBitmapExtensionsGetReadableBitmapData(WriteableBitmap, WorkingColorSpace) Method
Namespace: KGySoft.Drawing.WinUIAssembly: KGySoft.Drawing.WinUI (in KGySoft.Drawing.WinUI.dll) Version: 9.0.0
public static IReadableBitmapData GetReadableBitmapData(
this WriteableBitmap bitmap,
WorkingColorSpace workingColorSpace
)
<ExtensionAttribute>
Public Shared Function GetReadableBitmapData (
bitmap As WriteableBitmap,
workingColorSpace As WorkingColorSpace
) As IReadableBitmapData
public:
[ExtensionAttribute]
static IReadableBitmapData^ GetReadableBitmapData(
WriteableBitmap^ bitmap,
WorkingColorSpace workingColorSpace
)
[<ExtensionAttribute>]
static member GetReadableBitmapData :
bitmap : WriteableBitmap *
workingColorSpace : WorkingColorSpace -> IReadableBitmapData
- 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 resizing or cloning using a specific pixel format with no transparency support.
See the Remarks section of the WorkingColorSpace enumeration for more details.
IReadableBitmapDataAn
IReadableBitmapData instance, which provides fast read-only 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).