Sets or returns the value of the header margin in inches. This is the space between the header data and the top edge of the printed page. This is set to 0.5 by default. The valid range of values is 0 through 100, and is also limited by paper size.

<p> public double HeaderMargin{ get; set; }</p>
<p>Public Property HeaderMargin() As Double</p>

          //--- Get HeaderMargin
          double hdrMargin = ps.HeaderMargin;

          //--- Set HeaderMargin
          ps.HeaderMargin = 1;
          '--- Get HeaderMargin
          Dim hdrMargin As Double = ps.HeaderMargin

          '--- Set HeaderMargin
          ps.HeaderMargin = 1