[]
        
Gets the corresponding GDI+ pen.
Pen ToGdiPen(Pen pen, Rectangle rect)
Function ToGdiPen(pen As Pen, rect As Rectangle) As Pen
| Type | Name | Description | 
|---|---|---|
| Pen | pen | The pen data.  | 
    
| Rectangle | rect | The painting rectangle.  | 
    
| Type | Description | 
|---|---|
| Pen | A Pen object represents the corresponding GDI+ brush.  |