Table of contents
TOC
Collapse the table of content
Expand the table of content

Cell.Units Property (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Indicates the unit of measure associated with a Cell object. Read-only.

Syntax

expression . Units

expression A variable that represents a Cell object.

Return Value

Integer

Remarks

The Units property can be used to determine the unit of measure currently associated with a cell's value. The various unit codes are declared by the Visio type library in member VisUnitCodes . For example, a cell's width might be expressed in inches ( visInches ) or in centimeters ( visCentimeters ). In some cases, a program might behave differently depending on whether a cell's value is in metric or in imperial units.

For a list of valid unit codes, see About Units of Measure.

© 2018 Microsoft