Pen

<< Click to Display Table of Contents >>

Navigation:  MyShape > Properties >

Pen

public Pen Pen {get; set;}

 

value:        

 Set  the pen of s shape that you need.

 

Example:

 myShape.Pen.Width = 2;

 myShape.Pen.Color = Color.Green;