topMargin Attribute

Microsoft Office InfoPath

topMargin Attribute

Specifies the top margin when printing a view.

Type

      xsd:string
    

Remarks

The topMargin attribute is an optional attribute of the printSettings element.

The topMargin attribute must be greater than or equal to zero.

Example

The following is an example of the topMargin attribute as it is used in the printSettings element:

    <xsf:view name="View" caption="View">
   <xsf:printSettings
      header="Header text goes here."
      footer="Footer text goes here."
      orientation="portrait"      
      marginUnitsType="in"
      topMargin="1"
      leftMargin="2"
      rightMargin="2"
      bottomMargin="1"
   </xsf:printSettings>
   ...
</xsf:view>