GraphicsPath.GetLastStatus method

Applies to: desktop apps only

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

Syntax

Status GetLastStatus();

Parameters

This method has no parameters.

Return value

Type:

Type: Status

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

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

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

Remarks

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

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

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Product

GDI+ 1.0

Header

Gdipluspath.h (include Gdiplus.h)

Library

Gdiplus.lib

DLL

Gdiplus.dll

See also

GraphicsPath
Status
Clipping with a Region
Constructing and Drawing Paths
Creating a Path Gradient
Paths

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show: