DS.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / Pen Class / Implicit Type Conversion Operator
The Color value.

In This Topic
Implicit Type Conversion Operator (Pen)
In This Topic
Implicitly converts a Color to a Pen.
Syntax
'Declaration
 
Public Operator Widening CType( _
   ByVal color As System.Drawing.Color _
) As Pen
 

Parameters

color
The Color value.

Return Value

A Pen with the specified color.
See Also