Skip to main content

VisioIndexedSection

VisioIndexedSection inherits from VisioSection. Indexed section structures order rows using an integer index. Order of rows is important.

Following sections use indexed row structure: Character Connection Field FillGradient Geometry Layer LineGradient Paragraph Reviewer Scratch Tabs

Methodsโ€‹

addRow()โ€‹

visioIndexedSection.addRow(): VisioRow;

Appends a VisioRow to an indexed section rows collection.

const scratch = vsdShape.getSection(VisioSectionType.Scratch);
scratch.addRow(); // add a row with next available index

getRow()โ€‹

visioIndexedSection.getRow(index: number): VisioRow;

Return a VisioRow with a given index in a section with indexed structure. If row doesn't exist, return null.

removeRow()โ€‹

visioIndexedSection.removeRow(index: number): VisioRow[];

Remove a row with the given index from an indexed section.

Stay in the know

Be where thousands of diagramming enthusiasts meet

Star us on GitHub