Unicode Controls & Classes for VB6 - Version 4

clsGpPen.Color Property

Gets or sets the Pen Color (using a class)

Syntax
Public Property Get Color () As clsGpColor
Public Property Let Color (ByRef GpColor As clsGpColor)
Parameters
Parameter Description
ByRef GpColor As clsGpColor Color
Remarks
In this sample we'll create a new Pen object using a Named color
Dim oColor As New clsGpColor
oColor.CreateFromNamedColors AliceBlue

Dim oPn As New clsGpPen
oPn.Create1_Color oColor