Arbortext Command Language > Functions by Alphabetical Listing > tbl_selection_pastetype
  
tbl_selection_pastetype
type = tbl_selection_pastetype(selectionId, targetId)
This function indicates whether pasting the table objects whose IDs are contained in selection object selectionId into the destination cell, row, column, or grid indicated by targetId will replace an entire grid, one or more entire rows, one or more entire columns, or just a rectangle of cells.
This routine returns h::tblTypeUndef (undefined type) if either parameter is invalid, if the selection object doesn't contain TOIds describing a single rectangle, or if the targetId indicates a table object not contained in a grid.