ReadableBitmapDataExtensionsToWriteableBitmap(IReadableBitmapData) Method
Namespace: KGySoft.Drawing.WpfAssembly: KGySoft.Drawing.Wpf (in KGySoft.Drawing.Wpf.dll) Version: 9.0.0
public static WriteableBitmap ToWriteableBitmap(
this IReadableBitmapData source
)
<ExtensionAttribute>
Public Shared Function ToWriteableBitmap (
source As IReadableBitmapData
) As WriteableBitmap
public:
[ExtensionAttribute]
static WriteableBitmap^ ToWriteableBitmap(
IReadableBitmapData^ source
)
[<ExtensionAttribute>]
static member ToWriteableBitmap :
source : IReadableBitmapData -> WriteableBitmap
- source IReadableBitmapData
- The source IReadableBitmapData instance to convert.
WriteableBitmapA
WriteableBitmap instance that has the same content as the specified
source.In Visual Basic and C#, you can call this method as an instance method on any object of type
IReadableBitmapData. 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).