WebNavigationBarSet.Design property (Publisher)
Sets or returns a PbWizardNavBarDesign constant representing the design of the specified web navigation bar set. Read/write.
Syntax
expression.Design
expression A variable that represents a WebNavigationBarSet object.
Return value
PbWizardNavBarDesign
Remarks
The Design property value can be one of the PbWizardNavBarDesign constants declared in the Microsoft Publisher type library.
Example
This example adds a new web navigation bar set to every page in the active document, sets the button style to large, and then sets the design property to pbnbDesignCapsule.
Dim objWebNav As WebNavigationBarSet
Set objWebNav = ActiveDocument.WebNavigationBarSets.AddSet(Name:="newNavBar")
With objWebNav
.AddToEveryPage Left:=10, Top:=10
.ButtonStyle = pbnbButtonStyleLarge
.Design = pbnbDesignCapsule
End With
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for