Document Solutions for PDF
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
    public Pen operator implicit( 
       System.Drawing.Color color
    )

    Parameters

    color
    The Color value.

    Return Value

    A Pen with the specified color.
    See Also