Skip to main content
Version: 4.1

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.

Stay in the know

Be where thousands of diagramming enthusiasts meet

Star us on GitHub