ContainerProperties.HeadingStyle property (Visio)
Determines the appearance and position of the heading of the container. Read/write.
Syntax
expression.HeadingStyle
expression An expression that returns a ContainerProperties object.
Return value
Integer
Remarks
The value of the HeadingStyle property corresponds to the numerical identifier of the heading style that is selected in the Heading Styles gallery in the Container Styles group on the Container Tools Format tab.
The value of the HeadingStyle should always be greater than or equal to zero (0). A value of zero means that the container does not display a heading.
If no value is assigned to the HeadingStyle property or it is set to a null value, a run-time error ensues. A run-time error also ensues if you assign the property a value less than 0 or greater than the maximum ID number in the Heading Styles gallery.
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.