ArcObjects Library Reference  (Schematic)    

INgAttribute Interface

Provides access to members that control the attribute.

Product Availability

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

Description

The attributes allow manipulating the data related to an element type or related to a diagram type.

They can be used to specify some characteristics for the diagram types or the element types. For example, they can be created to specify coordinates for nodes implemented by a node element type or to specify origin and extremity node identifiers for links implemented by a link element type. They are also used to highlight some database information by associating them with graphic properties. For a diagram type, attributes can be used to set the display scale factor for the diagram symbols or to specify the view window title or the view background color.

Members

Description
Method Delete Deletes the attribute.
Read/write property Name Name of the attribute.
Read-only property ObjectType Object type the attribute is related to.
Read-only property Type Type of the attribute.

CoClasses that implement INgAttribute

CoClasses and Classes Description
NgAttribute Attribute object.
NgAttributeConstant Attribute constant object.
NgAttributeField Attribute field object.
NgAttributeFormatted Attribute formatted object.
NgAttributeFunction Attribute function object.
NgAttributeGeometry Attribute geometry object.
NgAttributePropertySet Attribute PropertySet object.
NgAttributeQuery Attribute query object.

Remarks

When you want to create an attribute, you need to specify three mandatory parameters: its name, its type, and the object type (diagram or element type) the attribute is related to.

You can create a new attribute and define these three mandatory parameters through the ArcGIS Schematics Designer or by calling the CreateAttribute method available from the desired INgObjectType interface; that is through the object type related to the element type or the diagram type you want.

 


Feedback Send feedback on this page