'Usage
Dim instance As IPaintingContext Dim pen As Pen Dim rect As Rectangle Dim value As Pen value = instance.ToGdiPen(pen, rect)
Parameters
- pen
- The pen data.
- rect
- The painting rectangle.
Return Value
A System.Drawing.Pen object represents the corresponding GDI+ brush.