Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Public Methods

This object represents an shape display object in ER/Studio. A shape display object is a graphical representation of a shape object in a specific submodel; it is not a shape object itself.

MethodDescription

Get the parent shape object of this shape display object. DATATYPE: Shape.

Get the Check Out status of this ShapeDisplay object. DATATYPE: StringObjects.

Get the Version History of this shape display object from the Repository server. Return the data in the StringObjects collection. DATATYPE: StringObjects.

Public Properties

PropertyDescription

Background color of the shape display object. It takes a 4-byte integer where the first byte represents red value (0-255), the second byte is the green value (0-255), and the third byte is the blue value (0-255).

Determines whether to use a custom background color just for this shape display object (true) or whether to use the default shape background color of the submodel (false). DATATYPE: Boolean.

When enabled, fits the shape to the size of the text.

GUID of the shape display object as assigned by ER/Studio. Each shape display object has a unique GUID. DATATYPE: String.

Sets the way in which text is justified horizontally. Valid values are: Left = 1, Center = 2, Right = 3.

X coordinate of the shape display object. DATATYPE: Integer.

Width of the shape display object. DATATYPE: Integer.

ID of the shape display object as assigned by ER/Studio. Each shape display object in a diagram has a unique ID. DATATYPE: Integer.

Name of the shape object. DATATYPE: String.

Color for the name. It takes a 4-byte integer where the first byte represents red value (0-255), the second byte is the green value (0-255), and the third byte is the blue value (0-255).

Font for the name. Although this property is read only, the user can modify the font by setting the properties in the ERSFont object which is returned to the caller.

OutlineColor of the shape display object. It takes a 4-byte integer where the first byte represents red value (0-255), the second byte is the green value (0-255), and the third byte is the blue value (0-255).

Color for the text. It takes a 4-byte integer where the first byte represents red value (0-255), the second byte is the green value (0-255), and the third byte is the blue value (0-255).

Font for the text. Although this property is read only, the user can modify the font by setting the properties in the ERSFont object which is returned to the caller.

Sets the way in which text is justified vertically. Valid values are: Top = 1, Center = 2, Bottom = 3.

Y coordinate of the shape display object. DATATYPE: Integer.

Height of the shape display object. DATATYPE: Integer.

When enabled, wraps the text to the size of the object.

...

Info
titleSee Also