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 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.

Signature
C#
C#
<p> public double LeftMargin{ get; set; }</p>
Signature
vb.net
vb.net
<p>Public Property LeftMargin() As Double</p>

Example
Code Block
csharp
csharp
titleC#
          //--- Get LeftMargin
          double lftMargin = ps.LeftMargin;

          //--- Set LeftMargin
          ps.LeftMargin = 1;
        
Code Block
vb.net
vb.net
titlevb.net
          '--- Get LeftMargin
          Dim lftMargin As Double = ps.LeftMargin

          '--- Set LeftMargin
          ps.LeftMargin = 1