Skip to end of metadata
Go to start of metadata

Description

Sets or returns an int that represents the line width of this border in 1/8 points. (The maximum width is 32 points.)

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

Remarks

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

Examples

C#

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

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

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

          '--- Set LineWidth to 1 point
          brdr.LineWidth = 8
        
  • No labels