VisioCell
VisioCell
describes attributes of a single cell, and its API allows only for lookup actions.
The setCell method should be used to perform an update.
Methods
eval()
visioCell.eval(): any;
Return a calculated result based on cell value
, units
and formula
.
Properties
There are several properties that can be accessed:
formula
visioCell.formula: string | undefined;
Return a formula
that the cell uses to calculate the value
.
name
visioCell.name: string;
Return a cell name (one of VisioCellName enum values).
units
visioCell.units: string | undefined;
Return a unit type of the cell. Used by Visio and visioCell.eval() to properly evaluate the value.
value
visioCell.value: string | undefined;
Return a raw cell value. Raw cell value is given in the cell.units
, and returned as a string.