'Declaration
Public Function QueryPaintObjects( _ ByVal x As Double, _ ByVal y As Double, _ ByVal x2 As Double, _ ByVal y2 As Double, _ ByVal keepOrder As Boolean, _ Optional ByVal queryShapeType As QueryShapeType _ ) As DrawingObject()
'Usage
Dim instance As WorksheetDrawing Dim x As Double Dim y As Double Dim x2 As Double Dim y2 As Double Dim keepOrder As Boolean Dim queryShapeType As QueryShapeType Dim value() As DrawingObject value = instance.QueryPaintObjects(x, y, x2, y2, keepOrder, queryShapeType)
public DrawingObject[] QueryPaintObjects( double x, double y, double x2, double y2, bool keepOrder, QueryShapeType queryShapeType )
Parameters
- x
- The left side of the painting area.
- y
- The top side of the painting area.
- x2
- The right side of the painting area.
- y2
- The bottom side of the painting area.
- keepOrder
true
if the display order of drawing objects are retrieved.- queryShapeType
Return Value
The array of drawing objects to paint