Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt

Sets or returns the value of the right margin in inches. This is the space between the worksheet data and the right edge of the printed page. This is set to.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 RightMargin{ get; set; }</p>
Signature
vb.net
vb.net
<p>PublicPublic Property RightMargin() As Double</p>Double
Example
 
Code Block
csharp
csharp
titleC#
          //--- Get RightMargin
          double rghtMargin = ps.RightMargin;

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

          '--- Set RightMargin
          ps.RightMargin = 1
        
Example