Documents for PDF .NET Edition
GrapeCity.Documents.Common 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.
    Public Operator Widening CType( _
       ByVal color As System.Drawing.Color _
    ) As Pen
    public Pen operator implicit( 
       System.Drawing.Color color


    The Color value.

    Return Value

    A Pen with the specified color.
    See Also