VisioNamedSection
VisioIndexedSection
inherits from VisioSection. Named section structures hold
unordered rows collection. Row names have to be unique.
The following sections use named row structure: Actions
Control
Hyperlink
Property
ActionTag
User
.
Methods
addRow()
visioNamedSection.addRow(rowName)
Add a VisioRow
to a named section rows collection. Can not add a row with a given rowName
if a row with such name
already exists.
const properties = vsdShape.getSection(VisioSectionType.Property);
properties.addRow('NewPropertyRow');
getRow()
visioNamedSection.getRow(rowName)
Return a VisioRow
in a named section with a given rowName
. If row doesn't exist, return null
.
removeRow()
visioNamedSection.removeRow(rowName)
Remove a row with the given rowName
from a named section.