Pen::GetStartCap method (gdipluspen.h)

The Pen::GetStartCap method gets the start cap currently set for this Pen object.

Syntax

LineCap GetStartCap();

Return value

Type: LineCap

This method returns an element of the LineCap enumeration that specifies the start cap for this Pen object.

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 gdipluspen.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

Drawing a Line with Line Caps

LineCap

Pen

Pen::GetCustomEndCap

Pen::GetCustomStartCap

Pen::SetEndCap

Pen::SetLineCap

Pen::SetStartCap

Pens, Lines, and Rectangles