The IDLgrWindow::Draw procedure method draws the specified scene or view object to this graphics destination.
| Note |
Obj->[IDLgrWindow::]Draw [, Picture] [, CREATE_INSTANCE={1 | 2}] [, /DRAW_INSTANCE]
The view (an instance of an IDLgrView object), viewgroup (an instance of an IDLgrViewgroup object), or scene (an instance of an IDLgrScene object) to be drawn. If Picture is not supplied, the graphics hierarchy specified by the GRAPHICS_TREE property of the IDLgrWindow object will be drawn, if it exists. If neither the Picture argument or the GRAPHICS_TREE property are specified, nothing is drawn.
Set this keyword equal to one specify that this scene or view is the unchanging part of a drawing. Some destinations can make an instance from the current window contents without having to perform a complete redraw. If the view or scene to be drawn is identical to the previously drawn view or scene, this keyword can be set equal to 2 to hint the destination to create the instance from the current window contents if it can.
Set this keyword to specify that this scene or view is the changing part of a drawing. It is overlaid on the result of the most recent CREATE_INSTANCE draw.
Introduced: 5.0