Gets the pen color
#include <GDIPlus.au3>
_GDIPlus_PenGetColor ( $hPen )
| $hPen | Handle to a pen object |
| Success: | the pen color. |
| Failure: | -1 and sets the @error flag to non-zero, @extended may contain GPSTATUS error code ($GDIP_ERR* see GPIPlusConstants.au3). |
Search GdipGetPenColor in MSDN Library.