ComponentOne Word for WPF
C1.WPF.Word.4.5.2 Assembly / C1.WPF.Word 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 Color _
    ) As Pen
    public Pen operator implicit( 
       Color color
    )

    Parameters

    color
    The Color value.

    Return Value

    A Pen with the specified color.
    See Also