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 an int that represents the line width of this border in 1/8 points. (The maximum width is 32 points.)

Signature
C#
C#
 public int LineWidth{ get; set; }
Signature
vb.net
vb.net
Public Property LineWidth() As Integer
Remarks

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

Example
Code Block
csharp
csharp
titleC#

          //--- Get LineWidth
          int lineWidth = brdr.LineWidth;

          //--- Set LineWidth to 1 point
          brdr.LineWidth = 8;
        
Code Block
vb.net
vb.net
titlevb.net

          '--- Get LineWidth
          Dim lineWidth As Integer = brdr.LineWidth

          '--- Set LineWidth to 1 point
          brdr.LineWidth = 8