ArcObjects Library Reference  (Schematic)    

INgFlag Interface

Provides access to members that control the flag.

Product Availability

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

Description

A flag is a graphic object attached to a network element. Flags are often used to display labels associated with an element. Flags are an implementation of a flag model. A flag is automatically inserted on, and attached to, an element according to the rules defined in the model it is based on. A flag can be associated with any kind of network element (node, link, and drawing). To insert a flag on several elements, you must associate its base model with the corresponding element group. Different flags based on different models can be associated with the same element. When an element is moved, its associated flag is automatically moved. However, moving a flag does not move the element but causes its connecting pole to be redrawn.

Members

Description
Method Delete Removes the flag.
Read-only property Element Element the flag is attached to.
Read-only property FlagModel Flag model that implements the flag.
Method GetBoundingBox Returns the 'upperLeftCorner' and 'lowerRightCorner' points defining the bounding box of the flag.
Method GetEffect Returns the effect 'effect' set for the flag (see esriNgFlagEffect).
Method IsEffectSet Indicates if the effect 'effect' related to the flag is set (see esriNgFlagEffect).
Method IsMoved Indicates if the flag has been moved.
Method IsSelected Indicates if the flag is currently selected.
Method Move Moves the flag to the (X,Y) relative or absolute position.
Read-only property Pole Pole connecting the flag to the element it is attached to.
Method RemoveEffect Removes the effect or restores the default effect 'effect' set for the flag (see esriNgFlagEffect).
Method Select Selects the flag in all the views where it displays and redraws it.
Method SetEffect Modifies the effect 'effect' set for the flag (see esriNgFlagEffect).
Method Unselect Deselects the flag in all the views where it displays and redraws it.
Read-only property X X cartesian coordinate of the flag.
Read-only property Y Y cartesian coordinate of the flag.

CoClasses that implement INgFlag

CoClasses and Classes Description
NgFlag Graphic flag object.

See Also

INgFlagModel Interface

 


Feedback Send feedback on this page