LineWeight Cell (Line Format Section)

Office 2013 and later

Last modified: March 09, 2015

Applies to: Office 2013 | Visio 2013

Determines the line weight of a shape. Set the line weight by entering a number with a valid unit of measure.

You can also set the value of LineWeight in the Line dialog box (on the Home tab, in the Shape group, click Line, point to Weight, and then click More Lines).

If the unit of measure is not entered, the unit of measure for text specified in the Visio Options dialog box is used (click the File tab, and then click Options). Line weight is independent of the scale of the drawing. If the drawing is scaled, the line weight remains the same.

To get a reference to the LineWeight cell by name from another formula, or from a program using the CellsU property, use:

Cell name:


To get a reference to the LineWeight cell by index from a program, use the CellsSRC property with the following arguments:

Section index:


Row index:


Cell index: