ArcObjects Library Reference  (Schematic)    

INgDrawing Interface

Provides access to members that control the graphic drawing.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Schematics Extension.

Description

Drawings are used to introduce additional graphic or text information related to the network being represented; that is, they are used to add nonnetworked graphics information to the schematic diagrams. Examples of a drawing include title blocks, neatlines, text, and North arrows.

A drawing can be a basic (line, rectangle, circle, polygon, or text) or a complex graphic object made up of several basic graphic objects. A drawing is created using a CGM-compliant graphic file. Drawings are often defined as nonnetwork nodes, but this definition is too simplistic. In fact, some ArcGIS Schematics tools have a different impact on drawings and nodes. For example, in a schematic view, the increase and decrease symbol tools increase or decrease the size of all nodes displayed in the view but keep the current size of drawings contained in the view. A drawing exists only in run time (that is, no parameters can be predefined for a given drawing through your Designer environment). The common properties of a drawing are stored and defined by its related drawing element type.

Members

Description
Read-only property Diagram Diagram that contains the drawing.
Read-only property ElementType Element type that implements the drawing.
Method GetCurrentEffect Returns the current 'effValue' value for the effect 'effect' set for the drawing (see esriNgDrawingEffect).
Method GetEffect Returns the effect 'effect' set for the drawing (see esriNgDrawingEffect).
Method GetPortPosition Returns the position 'point' of the port 'numPort', of type 'type' (see esriNgPortType) associated with the drawing in the view 'view'.
Read/write property InitialPosition Initial position of the drawing.
Read/write property InitialRotation Initial rotation of the drawing.
Method IsEffectSet Indicates if the effect 'effect' related to the drawing is set (see esriNgDrawingEffect).
Method Move Moves the drawing to the (X,Y) relative or absolute position.
Read-only property Name Name of the drawing.
Method RemoveEffect Removes the effects or restores the default effect 'effect' set for the drawing.
Method RemoveSubSymbolEffect Removes the effect 'effect' set for the sub-symbol named 'subName' that composes the symbol used to represent the drawing.
Method RestoreInitialPosition Restores the drawing to its initially defined position.
Method SetEffect Modifies the effect 'effect' set for the drawing (see esriNgDrawingEffect).
Method SetSubSymbolEffect Sets the effect 'effect' for the sub-symbol 'subName' that composes the symbol used to represent the drawing (see esriNgSubSymbolEffect).
Read-only property X X cartesian coordinate of the drawing.
Read-only property Y Y cartesian coordinate of the drawing.

CoClasses that implement INgDrawing

CoClasses and Classes Description
NgDrawing Graphic drawing object.

See Also

INgElement Interface | ISchematicDrawing Interface

 


Feedback Send feedback on this page