marginUnitsType Attribute

Microsoft Office InfoPath

marginUnitsType Attribute

Specifies the margin unit size when printing a view.

Type

      xsd:NMTOKEN
    

Remarks

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

Values include "in" (inch) and "cm" (centimeter).

Example

The following is an example of the marginUnitsType 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>