Public Methods

MethodDescription
ParentShapeGet the parent shape object of this shape display object. DATATYPE: Shape.
RepoCheckOutStatusGet the Check Out status of this ShapeDisplay object. DATATYPE: StringObjects.
RepoVersionHistoryGet the Version History of this shape display object from the Repository server. Return the data in the StringObjects collection. DATATYPE: StringObjects.

Public Properties

PropertyDescription
BackgroundColorBackground 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).
DisplayBackgroundColorDetermines 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.
FitShapeWhen enabled, fits the shape to the size of the text.
GUIDGUID of the shape display object as assigned by ER/Studio. Each shape display object has a unique GUID. DATATYPE: String.
HorizontalJustificationSets the way in which text is justified horizontally. Valid values are: Left = 1, Center = 2, Right = 3.
HorizontalPositionX coordinate of the shape display object. DATATYPE: Integer.
HorizontalSizeWidth of the shape display object. DATATYPE: Integer.
IDID of the shape display object as assigned by ER/Studio. Each shape display object in a diagram has a unique ID. DATATYPE: Integer.
NameName of the shape object. DATATYPE: String.
NameColorColor 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).
NameFontFont 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.
OutlineColorOutlineColor 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).
TextColorColor 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).
TextFontFont 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.
VerticalJustificationSets the way in which text is justified vertically. Valid values are: Top = 1, Center = 2, Bottom = 3.
VerticalPositionY coordinate of the shape display object. DATATYPE: Integer.
VerticalSizeHeight of the shape display object. DATATYPE: Integer.
WrapTextWhen enabled, wraps the text to the size of the object.