'Declaration
Public Function QueryObjects( _ ByVal row As Integer, _ ByVal column As Integer, _ ByVal row2 As Integer, _ ByVal column2 As Integer, _ ByVal includeFreeFloating As Boolean, _ Optional ByVal overlaped As Boolean _ ) As DrawingObject()
'Usage
Dim instance As WorksheetDrawing Dim row As Integer Dim column As Integer Dim row2 As Integer Dim column2 As Integer Dim includeFreeFloating As Boolean Dim overlaped As Boolean Dim value() As DrawingObject value = instance.QueryObjects(row, column, row2, column2, includeFreeFloating, overlaped)
Parameters
- row
- The top row index of the cell range.
- column
- The left column index of the cell range.
- row2
- The bottom row index of the cell range.
- column2
- The right column index of the cell range.
- includeFreeFloating
true
to also get free floating drawing objects.- overlaped
true
to return the drawing object which is overlaped by the cell range.
Return Value
The array of drawing objects to paint