BitmapDataExtensionsEndReplaceColor Method
Waits for the pending asynchronous operation started by the
BeginReplaceColor method to complete.
In .NET Framework 4.0 and above you can use the
ReplaceColorAsync method instead.
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
public static bool EndReplaceColor(
this IAsyncResult asyncResult
)
<ExtensionAttribute>
Public Shared Function EndReplaceColor (
asyncResult As IAsyncResult
) As Boolean
public:
[ExtensionAttribute]
static bool EndReplaceColor(
IAsyncResult^ asyncResult
)
[<ExtensionAttribute>]
static member EndReplaceColor :
asyncResult : IAsyncResult -> bool
- asyncResult IAsyncResult
- The reference to the pending asynchronous request to finish.
Boolean, if the operation completed successfully.
, if the operation has been canceled and the
ThrowIfCanceled property in the
asyncConfig parameter was set to
.In Visual Basic and C#, you can call this method as an instance method on any object of type
IAsyncResult. 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).