PDF for WinRT
Implicit Type Conversion Operator


The Color value.
Implicitly converts a Color to a Pen.
Syntax
'Declaration
 
Public Operator Widening CType( _
   ByVal color As Color _
) As Pen
'Usage
 
public Pen operator implicit( 
   Color color
)

Parameters

color
The Color value.

Return Value

A Pen with the specified color.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Pen Class
Pen Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback