Implicitly converts a Color to a Pen.

Namespace:  C1.Silverlight.Pdf
Assembly:  C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)

Syntax

C#
public static implicit operator Pen (
	Color color
)
Visual Basic
Public Shared Widening Operator CType ( _
	color As Color _
) As Pen

Parameters

color
Type: System.Windows.Media..::..Color
The Color value.

Return Value

A Pen with the specified color.

See Also