Delegate Graphics.DrawImageAbort

Graphics.DrawImageAbort delegate

Provides a callback method for deciding when the DrawImage method should prematurely cancel execution and stop drawing an image.

public delegate bool DrawImageAbort(IntPtr callbackdata);
ParameterTypeDescription
callbackdataIntPtrInternal pointer that specifies data for the callback method. This parameter is not passed by all DrawImage overloads. You can test for its absence by checking for the value Zero.

Return Value

This method returns true if it decides that the DrawImage method should prematurely stop execution. Otherwise it returns false to indicate that the DrawImage method should continue execution.

See Also