GraphicsPathIterator::GetLastStatus method (gdipluspath.h)

The GraphicsPathIterator::GetLastStatus method returns a value that indicates the nature of this GraphicsPathIterator object's most recent method failure.

Syntax

Status GetLastStatus();

Return value

Type: Status

The GraphicsPathIterator::GetLastStatus method returns an element of the Status enumeration.

If no methods invoked on this GraphicsPathIterator object have failed since the previous call to GetLastStatus, then GetLastStatus returns Ok.

If at least one method invoked on this GraphicsPathIterator object has failed since the previous call to GraphicsPathIterator::GetLastStatus then GraphicsPathIterator::GetLastStatus returns a value that indicates the nature of the most recent failure.

Remarks

You can call GraphicsPathIterator::GetLastStatus immediately after constructing a GraphicsPathIterator object to determine whether the constructor succeeded.

The first time you call the GraphicsPathIterator::GetLastStatus method of a GraphicsPathIterator object, it returns Ok if the constructor succeeded and all methods invoked so far on the GraphicsPathIterator object succeeded. Otherwise, it returns a value that indicates the nature of the most recent failure.

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdipluspath.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

Constructing and Drawing Paths

GraphicsPathIterator

Paths

Status