←Select platform

BorderPen Property

Summary

Pen to use for outlining the shape.

Syntax
C#
VB
C++
public virtual Pen BorderPen { get; set; } 
Public Overridable Property BorderPen() As System.Drawing.Pen 
   Get 
   Set 
public:  
   virtual property System::Drawing::Pen^ BorderPen 
   { 
      System::Drawing::Pen^ get() 
      void set(System::Drawing::Pen^ value) 
   } 

Property Value

The pen to use for outlining the shape. Default value is Black pen with alpha = 0xEF and System.Drawing.Drawing2D.DashStyle.Dash style.

Remarks

Set this value to null to disable outlining the shape.

Example

For an example, refer to ImageViewerRubberBandInteractiveMode.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly