DeleteRow method

DeleteRow method

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

See also         Example         Applies to

Deletes a row from a section in a ShapeSheet spreadsheet.

Version added

2.0

Syntax

        
          object.DeleteRowsection, row
      

object

Required. An expression that returns a Shape object.

section

Required Integer. The index of the section that contains the row.

row

Required Integer. The index of the row to delete.

Remarks

To remove one row at a time from a ShapeSheet section, use the DeleteRow method. If the section has indexed rows, the rows following the deleted row shift position. If the row does not exist, nothing is deleted.

You should not delete rows that define fundamental characteristics of a shape, such as the 1-D Endpoints row (visRowXForm1D) or the component row (visRowComponent) or the MoveTo row (visRowVertex + 0) in a Geometry section. You cannot delete rows from sections represented by visSectionCharacter, visSectionParagraph,**and visSectionTab.