Share via


FooterMargin Property [Visio 2003 SDK Documentation]

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

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.

Version added

2002

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 Microsoft Office Visio 2003 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.

Applies to | Document object

See Also | FooterCenter property | FooterLeft property | FooterRight property | HeaderCenter property | HeaderFooterColor property | HeaderFooterFont property | HeaderLeft property | HeaderMargin property | HeaderRight property