'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 overlapped 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 overlapped As Boolean Dim value() As DrawingObject value = instance.QueryObjects(row, column, row2, column2, includeFreeFloating, overlapped)
public DrawingObject[] QueryObjects( int row, int column, int row2, int column2, bool includeFreeFloating, bool overlapped )
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.- overlapped
true
to return the drawing object which is overlapped by the cell range.
Return Value
The array of drawing objects to paint