Click or drag to resize

ExcelDrawingCollectionTMove Method

Moves the ExcelDrawing at the specified index to a new location in the collection thus affecting its Z-index.

Drawings at the lower location in the collection have a lower Z-index and are drawn before drawings at the higher location in the collection.

Namespace:  GemBox.Spreadsheet
Assembly:  GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 41.3.30.1111
Syntax
public void Move(
	int oldIndex,
	int newIndex
)

Parameters

oldIndex
Type: SystemInt32
The zero-based index specifying the location of the ExcelDrawing to be moved.
newIndex
Type: SystemInt32
The zero-based index specifying the new location of the ExcelDrawing.
See Also