Description

Draw this graphic object.

Return Type

None  

Syntax

object.Draw hDC, DrawMode

The Draw Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McGraphObjServer.
hDCRequired. A Long value.

The DC handle to draw to.

DrawModeRequired. A mcGraphOverlayDrawMode enumeration, as described in settings.

The destination type.

Settings

The settings for DrawMode are:

ConstantValueDescription
 mcgdmScreen1

Use the current IMcBasicView interface and its current zoom, pan and scroll to convert from image coordinates to screen coordinates.

 mcgdmPrinter2

No conversion, objects are printed.

 mcgdmImage4

Everything stays in image coordinates.