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
Wiki Markup
{description}
{excerpt}Sets or returns a [Border.LineStyle|Border.LineStyle] object that represents the line style of this border. \(Single, thick, double, etc.\){excerpt}
{signature:C#}
 public LineStyle Style{ get; set; }
{signature}{signature:vb.net}
Public Property Style() As LineStyle
{signature}
{remarks}MS Word equivalent: Format menu > Borders and Shading... > Borders tab > Style:

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

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

          //--- Set LineStyle
          brdr.LineStyle = Border.LineStyle.Thick;
        {code}
{code:vb.net|title=vb.net}

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

          '--- Set LineStyle
          brdr.LineStyle = Border.LineStyle.Thick
        {code}

{example}