HeaderRight property

Microsoft Visio Developer Reference

HeaderRight property

   Example   

Contains the text string that appears in the right portion of a document's header.

Version added

2002

Syntax

strRet = object.HeaderRight
object.HeaderRight = stringExpression

strRet

String. The text in the right portion of the header.

object

Required. An expression that returns a Document object.

stringExpression

Required String. New text for the right portion of the header.

Remarks

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

Both strRet and strExpression can contain escape codes that represent data. These escape codes can be concatenated with other text. For a list of valid escape codes you can use with the HeaderRight property, see the FooterLeft property.