GraphicsDrawImageAbort Delegate

Provides a callback method for deciding when the DrawImage(Image, Int32, Int32) method should prematurely cancel execution and stop drawing an image.

Namespace:  System.Drawing
Assembly:  Aspose.Drawing (in Aspose.Drawing.dll) Version: 20.9.0.0 (20.9.0)
Syntax
C#
public delegate bool DrawImageAbort(
	IntPtr callbackdata
)

Parameters

callbackdata
Type: SystemIntPtr
Internal pointer that specifies data for the callback method. This parameter is not passed by all DrawImage(Image, Int32, Int32) overloads. You can test for its absence by checking for the value Zero.

Return Value

Type: Boolean
This method returns true if it decides that the DrawImage(Image, Int32, Int32) method should prematurely stop execution. Otherwise it returns false to indicate that the DrawImage(Image, Int32, Int32) method should continue execution.
See Also