Unicode Controls & Classes for VB6 - Version 4

clsGpPen.Create1_Color Function

Create a new Pen using the clsGpColor instance

Syntax
Public Function Create1_Color (ByRef GpColor As clsGpColor, _
Optional ByVal Width As Single = 1#, _
Optional ByVal Unit As GpUnit = UnitPixel) As GpStatus
Parameters
Parameter Description
ByRef GpColor As clsGpColor The color of the Pen
Optional ByVal Width As Single = 1# The width of the pen
Optional ByVal Unit As GpUnit = UnitPixel The unit of the pen width
Remarks
Check the [Create1_RawColor] method if you want to use a ARGB value instead of a [clsGpColor] class