Image::SetAbort method (gdiplusheaders.h)

The Image::SetAbort method sets the object whose Abort method is called periodically during time-consuming rendering operation.

Syntax

Status SetAbort(
  GdiplusAbort *pIAbort
);

Parameters

pIAbort

Type: GdiplusAbort*

Pointer to an application-defined descendant of the GdiplusAbort structure.

Return value

Type: Status

If the method succeeds, it returns Ok, which is an element of the Status enumeration.

If the method fails, it returns one of the other elements of the Status enumeration.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header gdiplusheaders.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

Image