FooterMargin property

FooterMargin property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

See also         Example         Applies to

Gets or sets the margin of a document's footer.

Version added

2002

Syntax

        
          retVal = object.FooterMargin ([unitsNameOrCode])
      
        
          object
          .FooterMargin ([unitsNameOrCode]) = newVal
      

retVal

Double. The margin size.

object

Required. An expression that returns a Document object.

unitsNameOrCode

Optional Variant. The units to use when retrieving or setting the cell's value. Defaults to internal drawing units (inches).

newVal

Required Double. The new margin size.

Remarks

If unitsNameorCode is not provided, the FooterMargin property will default to internal drawing units.

You can also set this value in the Margin box under Footer in the Header and Footer dialog box (on the View menu, click Header and Footer).

Automation constants for representing units are declared by the Visio type library in member VisUnitCodes.

For a complete list of valid unit strings along with corresponding Automation constants (integer values), see About units of measure.