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}{signature:
}
Signature
vb.net
vb.net
Public Property LineWidth() As Integer
{signature}
{remarks}MS Word 
Remarks

MS Word equivalent:

Format

menu

>

Borders

and

Shading...

>

Borders

tab

>

Width:

{remarks} {example}{code:csharp|title=C#}

Example
Code Block
csharp
csharp
titleC#


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

          //--- Set LineWidth to 1 point
          brdr.LineWidth = 8;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


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

          '--- Set LineWidth to 1 point
          brdr.LineWidth = 8
        
{code} {example}