NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Pen Constructor (Color)

Initializes a new instance of the Pen class with the specified coor.

[Visual Basic]
Overloads Public Sub New( _
   ByVal color As Color _
)
[C#]
public Pen(
   Color color
);
[C++]
public: Pen(
   Color color
);
[JScript]
public function Pen(
   color : Color
);

Parameters

color
[To be supplied.]

Remarks

This constructor creates a Pen and initializes data members as follows: Color set to, and Width set to 1.0.

See Also

Pen Class | Pen Members | System.Drawing Namespace | Pen Constructor Overload List