FooterMargin property

Microsoft Visio Developer Reference

FooterMargin property

   Example   

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.