Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Sets or returns a Border.LineStyle object that represents the line style of this border. (Single, thick, double, etc.)

Signature
C#
C#
 public LineStyle Style{ get; set; }
Signature
vb.net
vb.net
Public Property Style() As LineStyle
Remarks

MS Word equivalent: Format menu > Borders and Shading... > Borders tab > Style:

Example
Code Block
csharp
csharp
titleC#

          //--- Get LineStyle
          Border.LineStyle lnStyle = brdr.LineStyle;

          //--- Set LineStyle
          brdr.LineStyle = Border.LineStyle.Thick;
        
Code Block
vb.net
vb.net
titlevb.net

          '--- Get LineStyle
          Dim lnStyle As Border.LineStyle = brdr.LineStyle

          '--- Set LineStyle
          brdr.LineStyle = Border.LineStyle.Thick