VisioGeometrySection
VisioGeometrySection
inherits from VisioIndexedSection. Indexed section
structures hold ordered rows collection.
Methods
addRow()
visioGeometrySection.addRow(type?: types.VisioRowType | string): VisioRow;
Add a named VisioRow
to a geometry section rows collection. Provided geometryRowType
must be one of VisioRowType
enum values. If no geometryRowType
is provided, a row of type VisioRowTyp.RelMoveTo
will be added in case it's the
first row, or VisioRowType.RelLineTo
for any consecutive rows.
const [geometry0] = vsdShape.getGeometry();
geometry0.addRow(VisioRowType.MoveTo);