←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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.WinForms Assembly