Graphics.DrawImageAbort

Inheritance: java.lang.Object, com.aspose.ms.System.Delegate, com.aspose.ms.System.MulticastDelegate

public abstract static class Graphics.DrawImageAbort extends System.MulticastDelegate

Constructors

ConstructorDescription
DrawImageAbort()

Methods

MethodDescription
invoke(System.IntPtr callbackdata)Provides a callback method for deciding when the DrawImage method should prematurely cancel execution and stop drawing an image.
beginInvoke(System.IntPtr callbackdata, System.AsyncCallback callback, Object state)
endInvoke(System.IAsyncResult result)

DrawImageAbort()

public DrawImageAbort()

invoke(System.IntPtr callbackdata)

public abstract boolean invoke(System.IntPtr callbackdata)

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

Parameters:

ParameterTypeDescription
callbackdatacom.aspose.ms.System.IntPtrInternal 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 System.IntPtr.Zero.

Returns: boolean - 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.

beginInvoke(System.IntPtr callbackdata, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginInvoke(System.IntPtr callbackdata, System.AsyncCallback callback, Object state)

Parameters:

ParameterTypeDescription
callbackdatacom.aspose.ms.System.IntPtr
callbackcom.aspose.ms.System.AsyncCallback
statejava.lang.Object

Returns: com.aspose.ms.System.IAsyncResult

endInvoke(System.IAsyncResult result)

public final boolean endInvoke(System.IAsyncResult result)

Parameters:

ParameterTypeDescription
resultcom.aspose.ms.System.IAsyncResult

Returns: boolean