ButtonStyle Property

Microsoft Publisher Visual Basic

Show All Show All

ButtonStyle Property

Sets or returns a PbWizardNavBarButtonStyle constant that represents the style of the navigation bar buttons: large, small, or text-only. Read/write.

pbButtonStyleLarge
pbButtonStyleSmall
pbButtonStyleText

expression.ButtonStyle

expression    Required. An expression that returns a WebNavigationBarSet object.

Example

The following example sets the button style to pbnbButtonStyleLarge for the first Web navigation bar set of the active document.

    ActiveDocument.WebNavigationBarSets(1).ButtonStyle = pbnbButtonStyleLarge