DrawCount()

Syntax

DrawCount()

Remarks

Returns the number of drawing objects whose anchors are in the range set by DrawSetRange.

Example

This example displays a message box showing the number of drawing objects in the active document:


DrawSetRange "\Doc"
numobjects = DrawCount()
MsgBox "There are" + Str$(numobjects) + " drawing objects" + \
        " in the document."

See Also

DrawGetType(), DrawSetRange