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, Single)

Initializes a new instance of the Pen class with the specified Color and Width.

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

Parameters

color
[To be supplied.]
width
[To be supplied.]

Remarks

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

See Also

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