RowType property

Microsoft Visio Developer Reference

RowType property

       

Gets or sets the type of a row in a Geometry, Connection Points, Controls, or Tabs ShapeSheet section.

Version added

2.0

Syntax

retVal = object.RowType (section, row)
object.RowType (section, row) = rowTag

retVal

Integer. The current type of the row.

object

Required. An expression that returns a Shape object.

section

Required Integer. The index of the section that contains the row.

row

Required Integer. The index of the row.

rowTag

Required Integer. The new type for the row.

Remarks

After you change a row's type, the new row type may or may not have the same cells. Your program must provide the appropriate formulas for the new or changed cells.

The rowType argument specifies the type of row you want. You can use any of the following constants declared by the Visio type library in member VisRowTags.

Constant

Value

visTagComponent

137

visTagMoveTo

138

visTagLineTo

139

visTagArcTo

140

visTagInfiniteLine

141

visTagEllipse

143

visTagEllipticalArcTo

144

visTagSplineBeg

165

visTagSplineSpan

166

visTagPolylineTo

193

visTagNURBSTo

195

visTagTab0

136

visTagTab2

150

visTagTab10

151

visTagTab60

181

visTagCnnctPt

153

visTagCnnctNamed

185

visTagCtlPt

162

visTagCtlPtTip

170

If an inappropriate row tag is passed or the row does not exist, no changes occur and an error is returned.

Use the RowName property to transition from unnamed to named Connection Points rows.

See the AddRow method for a list of valid row constants and row tag constants.

See the AddSection method for a list of valid section constants.