TextBasedOn property

Microsoft Visio Developer Reference

TextBasedOn property

   Example   

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

Version added

4.0

Syntax

strVal = object.TextBasedOn
object.TextBasedOn = styleName

strVal

String. The name of the current based-on text style.

object

Required. An expression that returns a Style object.

styleName

Required String. The name of the new based-on style.

Remarks

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