Style property (Section object)

Microsoft Visio Developer Reference

Style property (Section object)

   Example   

Gets the style that contains a Section object.

Version added

2.0

Syntax

objRet = object.Style

objRet

A Style object that represents the style containing the section.

object

Required. An expression that returns a Section object.

Remarks

If a style consists of different text, line, and fill styles, the Style property returns the fill style.

If a Section object is in a style, its Style property returns the style that contains the cell, and its Shape property returns Nothing.

If a Section object is in a shape, its Shape property returns the shape that contains the cell, and its Style property returns Nothing.