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 the value of the left margin in inches. This is the space between the worksheet data and the left edge of the printed page. This is set to 0.75 by default. The valid range of values is 0 through 100, and is also limited by paper size.{excerpt}
{signature:C#}
 public double LeftMargin{ get; set; }
{signature}{signature:vb.net}
Public Property LeftMargin() As Double
{signature}
{example}{code:csharp|title=C#}

          //--- Get LeftMargin
          double lftMargin = ps.LeftMargin;

          //--- Set LeftMargin
          ps.LeftMargin = 1;
        {code}
{code:vb.net|title=vb.net}

          '--- Get LeftMargin
          Dim lftMargin As Double = ps.LeftMargin

          '--- Set LeftMargin
          ps.LeftMargin = 1
        {code}

{example}