Unicode Controls & Classes for VB6 - Version 4

clsGpPen.Create1_RawColor Function

Create a Pen using the specified ARGB Color

Syntax
Public Function Create1_RawColor (ByVal ARGB As Long, _
Optional ByVal Width As Single = 1#, _
Optional ByVal Unit As GpUnit = UnitPixel) As GpStatus
Parameters
Parameter Description
ByVal ARGB As Long The Color, check the [clsGpSession] class for conversion functions from VB6 to GDIPlus colors
Optional ByVal Width As Single = 1# The pen Width
Optional ByVal Unit As GpUnit = UnitPixel The pen Width unit
Remarks
Check the [Create1_Color] method if you want to use a Color class instead of an ARGB value