Unicode Controls & Classes for VB6 - Version 4

clsGpPen.RawColor Property

Gets or sets the Pen Color (using a ARGB value)

Syntax
Public Property Get RawColor () As Long
Public Property Let RawColor (ByVal ARGB As Long)
Parameters
Parameter Description
ByVal ARGB As Long Color in ARGB format; check the [clsGpSession] class for conversion functions
Remarks
In this sample we'll create a Pen using a RawColor
Dim oColor As New clsGpColor
oColor.CreateFromNamedColors AliceBlue

Dim oPn As New clsGpPen
oPn.Create1_RawColor oColor.Color