WebNavigationBarSet.ButtonStyle property (Publisher)

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

Syntax

expression.ButtonStyle

expression A variable that represents a WebNavigationBarSet object.

Return value

PbWizardNavBarButtonStyle

Remarks

The ButtonStyle property value can be one of the PbWizardNavBarButtonStyle constants declared in the Microsoft Publisher type library.

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.