Share via


TextBasedOn Property [Visio 2003 SDK Documentation]

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

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.

Version added

4.0

Remarks

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

Applies to | Style object

See Also | BasedOn property | FillBasedOn property | LineBasedOn property