BasedOn property

Microsoft Visio Developer Reference

BasedOn property

   Example   

Gets or sets the style on which a Style object is based.

Version added

4.0

Syntax

strVal = object.BasedOn
object.BasedOn = styleName

strVal

String. The name of the current style.

object

Required. An expression that returns a Style object.

styleName

Required String. The name of the new style.

Remarks

To base a style on no style, set the BasedOn property to a zero-length string ("").