Function Reference


_GDIPlus_PenGetColor

Gets the pen color

#include <GDIPlus.au3>
_GDIPlus_PenGetColor ( $hPen )

Parameters

$hPen Handle to a pen object

Return Value

Success: the pen color.
Failure: -1 and sets the @error flag to non-zero, @extended may contain GPSTATUS error code ($GPIP_ERR* see GPIPlusConstants.au3).

Related

_GDIPlus_PenSetColor

See Also

Search GdipGetPenColor in MSDN Library.