GraphicsPathIterator::GetSubpathCount method (gdipluspath.h)

The GraphicsPathIterator::GetSubpathCount method returns the number of subpaths (also called figures) in the path.

Syntax

INT GetSubpathCount();

Return value

Type: INT

This method returns the number of subpaths (also called figures) in the path.

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

CloseFigure

Constructing and Drawing Paths

GraphicsPath

GraphicsPathIterator

GraphicsPathIterator::NextSubpath Methods

Paths

StartFigure