Pen Property (RectangularSelection)
Gets or sets the border pen of the rectangle.
'Declaration
Public Property Pen As System.Drawing.Pen
public System.Drawing.Pen Pen { get; set; }
public: __property System.Drawing.Pen get_Pen();
public: __property void set_Pen(
System.Drawing.Pen
);
public:
property System.Drawing.Pen Pen {
System.Drawing.Pen get();
void set(System.Drawing.Pen );
}
Property Value
Default value is System.Drawing.Pens.Black.
Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5