Public Methods

MethodDescription
Sets this SubModel as the Active Submodel.
AliasDisplaysReturns an object representing a collection of all alias display objects in the submodel.
AuxiliaryTableDisplaysReturns an object representing a collection of all auxiliary table display objects in the submodel.
BoundAttachmentsGet all the BoundAttachments of this SubModel.
BoundSecurityPropertiesGet all the BoundSecurityProperties of this SubModel.
BufferPoolDisplaysReturns an object representing a collection of all buffer pool display objects in the submodel.
BusinessDataObjectDisplaysReturns an object representing a collection of all BusinessDataObject displays in the submodel.
DatabaseDisplaysReturns an object representing a collection of all database display objects in the submodel.
DeleteNamingStandardsTemplateUnbind this Submodel from the naming standards template by deleting the naming standards template ID from the submodel.
EntityDisplaysReturns an object representing a collection of all entity display objects in the submodel.
EntityNamesReturns the names of all entities in the submodel. A user can pass in a Variant variable for the first parameter. PARAMETERS: EntityNames: An array is filled in by the method (Variant), NumFetched: Set by the method (Integer).
ExportImageOptionsGet ExportImageOptions object for this SubModel.
FunctionDisplaysReturns an object representing a collection of all function display objects in the submodel.
GetNamingStandardsTemplateReturns the naming standards template bound to the submodel or null, if none is bound to the submodel.
LineDisplaysReturns an object representing a collection of all line display objects in the submodel.
MaterializedViewDisplaysReturns an object representing a collection of all materialized view display objects in the submodel.
NodeGroupDisplaysReturns an object representing a collection of all nodegroup display objects in the submodel.
ObjectTypeDisplaysReturns an object representing a collection of all object type display objects in the submodel.
PackageDisplaysReturns an object representing a collection of all package display objects in the submodel.
PrintOptionsGet PrintOptions object for this SubModel.
ProcedureDisplaysReturns an object representing a collection of all procedure display objects in the submodel.
RelationshipDisplaysReturns an object representing a collection of all relationship display objects in the submodel.
RepoCheckOutStatusGet the Check Out status of this SubModel object. DATATYPE: StringObjects.
RepoVersionHistoryGet the Version History of this SubModel from the Repository server. Return the data in the StringObjects collection. DATATYPE: StringObjects.
RollbackSegmentDisplaysReturns an object representing a collection of all rollback segment display objects in the submodel.
SchemaObjRelationshipDisplaysReturns an object representing a collection of all schema object relationship display objects in the submodel.
SelectedObjectsReturns an object representing a collection of all selected objects in the submodel.
SequenceDisplaysReturns an object representing a collection of all sequence display objects in the submodel.
ShapeDisplaysReturns an object representing a collection of all shape display objects in the submodel.
StoGroupDisplaysReturns an object representing a collection of all stogroup display objects in the submodel.
SynonymDisplaysReturns an object representing a collection of all synonym display objects in the submodel.
TablespaceDisplaysReturns an object representing a collection of all tablespace display objects in the submodel.
UserCommentsReturns a collection of all the user comments associated with the submodel.
ViewDisplaysReturns an object representing a collection of all view display objects in the submodel.
ViewNamesReturn all the View names in this Submodel. DATATYPE: StringObjects.
ViewRelationshipDisplaysReturns an object representing a collection of all view relationship display objects in the submodel.

Public Properties

Class ModuleDescription
Color for Attachments. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
AttachmentFontFont for Attachments. 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.
AttributeFontFont for local, non-key attributes. 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.
CompleteRoleNameDetermines whether you want to display complete role names (true) or not (false). DATATYPE: Boolean.
DataSecurityColorColor for Data Security. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
DataSecurityFontFont for Data Security. 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.
DefinitionSubmodel definition property. DATATYPE: String.
DiagramBackgroundColorColor for the background of the submodel. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
EntityBackgroundColorColor for the background of the entity. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
EntityDimTypeLabelColorColor for Entity Dimension Type Label. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
EntityDimTypeLabelFontFont for Entity Dimension Type Label. 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.
EntityDisplayFormatDisplay format of Entities in the submodel. Valid values are: Attributes = 1, Entities = 2, Primary Keys = 3, All Keys = 4, Definition = 5, Note = 6. DATATYPE: Integer.
EntityForegroundColorColor for the foreground of the entity. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
EntityNameFontFont for the entity 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.
EntityTitleColorColor for the title of the entity. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
ForeignKeyFontFont for foreign key attributes. 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.
ForeignNonKeyFontFont for foreign, non-key attributes. 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.
GridSpacingSpacing for grid points. DATATYPE: Double.
GridsPerLineNumber of grid points per line. DATATYPE: Integer.
GridUnitsUnit type for the grid measurement. Valid values are: Inches = 0, Centimeters = 1. DATATYPE: Integer.
GUIDGUID of the submodel as assigned by ER/Studio. Each submodel has a unique GUID. DATATYPE: String.
HorizontalScrollPositionHorizontal scroll bar position of the diagram display window. DATATYPE: Integer.
HorizontalViewSizeWidth of the diagram display window. DATATYPE: Integer.
IDID of the submodel as assigned by ER/Studio. Each submodel in a diagram has a unique ID. DATATYPE: Integer.
IndexColorColor for Indexes. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
IndexFontFont for Indexes. 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.
InheritedNonKeyColorColor for the foreign, non-key attributes. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
InheritedPrimaryKeyColorColor for foreign, primary key attributes. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
InheritOptionDetermines whether the submodel inherits objects added to nested submodels. DATATYPE: Boolean.
IsActiveIndicates whether the submodel is the one currently displayed. DATATYPE: Boolean.
MainSubModelTells the user whether the currently displayed submodel is the main sub model (true) or not (false). DATATYPE: Boolean.
NameName of the submodel. DATATYPE: String.
NamingStandardsTemplateIdID of the NamingStandardsTemplate object bound to the submodel (if any). A user can bind a NamingStandardsTemplate to the submodel by assigning a particular NamingStandardsTemplateId to this property. DATATYPE: Integer.
NonInheritedNonKeyColorColor for local, non-key attributes. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
NonInheritedPrimaryKeyColorColor for local, primary key attributes. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
OffPageBackgroundColorColor for the background of the off page. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
OffPageForegroundColorColor for the foreground of the off page. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
PageBoundaryPage boundary. DATATYPE: Integer.
PageForegroundColorColor for the foreground of the page. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
PageNumberColorColor for the number of the page. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
PageNumberFontFont for the page numbers. 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.
PageOrientationPage orientation. Valid values are: Portrait = 1, Landscape = 2. DATATYPE: Integer.
PageSizePage size. DATATYPE: Integer.
ParentSubmodelIDID of the parent Submodel object if this Submodel is a child in a nested Submodel. DATATYPE: Integer.
PrimaryKeyFontFont for the local, primary key font. 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.
RelationshipBusinessNameColorColor for the relationship business name. This property takes a 4 byte integer where the first byte represents a red value (0-255), the second 8 byte represents a green value (0-255), and the third byte represents a blue value (0-255).
RelationshipBusinessNameFontFont for the relationship business name. Although this property, itself, is read only, the user can modify the font by setting the properties in the ERSFont object which is returned to the caller.
RelationshipColorColor for the relationships. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
RelationshipNameColorColor for the relationship name. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
RelationshipNameFontFont for the relationship 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.
SchemaObjDisplayFormatDisplay format of Schema Objects in the submodel. Valid values are: Name = 1, Definition = 2. DATATYPE: Integer.
ShadowDetermines whether shadows are drawn (true) or not (false). DATATYPE: Boolean.
ShadowColorColor for the shadow of entities, views, etc. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
ShapeNameFontFont for the shape 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.
ShapeTextFontFont for the shape 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.
ShowAttributeNameDetermines whether attribute's physical name is displayed (true) or not (false). DATATYPE: Boolean.
ShowCardinalityDetermines whether cardinality is displayed (true) or not (false). DATATYPE: Boolean.
ShowColumnNameDetermines whether attribute's logical name is displayed (true) or not (false). DATATYPE: Boolean.
ShowEntityAlternateKeyDetermines whether entity's alternate keys are displayed (true) or not (false). DATATYPE: Boolean.
ShowEntityAttachmentDetermines whether entity's attachments are displayed (true) or not (false). DATATYPE: Boolean.
ShowEntityAttachmentValueDetermines whether entity's attachment values are displayed (true) or not (false). DATATYPE: Boolean.
ShowEntityAttributeBitmapDetermines whether entity's attribute bitmaps are displayed (true) or not (false). DATATYPE: Boolean.
ShowEntityDataSecurityDetermines whether entity's data security are displayed (true) or not (false). DATATYPE: Boolean.
ShowEntityDataSecurityValueDetermines whether entity's data security values are displayed (true) or not (false). DATATYPE: Boolean.
ShowEntityDataTypeDetermines whether entity's data types are displayed (true) or not (false). DATATYPE: Boolean.
ShowEntityDimensionalTypeDetermines whether entity's dimension type are displayed (true) or not (false). DATATYPE: Boolean.
ShowEntityDimensionAttributesDetermines whether entity's dimension attributes are displayed (true) or not (false). DATATYPE: Boolean.
ShowEntityDomainDetermines whether entity's domains are displayed (true) or not (false). DATATYPE: Boolean.
ShowEntityFactAttributesDetermines whether entity's fact attributes are displayed (true) or not (false). DATATYPE: Boolean.
ShowEntityIndexDetermines whether entity's indexes are displayed (true) or not (false). DATATYPE: Boolean.
ShowEntityInversionEntryDetermines whether entity's inversion entries are displayed (true) or not (false). DATATYPE: Boolean.
ShowEntityNameDetermines whether entity's physical name is displayed (true) or not (false). DATATYPE: Boolean.
ShowEntityNameCompartmentDetermines whether entity name compartments are displayed (true) or not (false). DATATYPE: Boolean.
ShowEntityNullOptionDetermines whether entity's null options are displayed (true) or not (false). DATATYPE: Boolean.
ShowEntityOwnerDetermines whether entity's owner is displayed (true) or not (false). DATATYPE: Boolean.
ShowGridDetermines whether to show the grid (true) or not (false). DATATYPE: Boolean.
ShowRelationshipBusinessNameDetermines whether relationship business names are displayed (true) or not (false). DATATYPE: Boolean.
ShowRelationshipNameDetermines whether relationship names are displayed (true) or not (false). DATATYPE: Boolean.
ShowSchemaObjRelationshipsDetermines whether schema object relationships are drawn (true) or not (false). DATATYPE: Boolean.
ShowSchemaObjsDetermines whether schema objects are displayed (true) or not (false). DATATYPE: Boolean.
ShowShapeNamesDetermines whether shape names are displayed (true) or not (false). DATATYPE: Boolean.
ShowTableNameDetermines whether entity's logical name is displayed (true) or not (false). DATATYPE: Boolean.
ShowTriggerSets the ShowTrigger flag. DATATYPE: Boolean.
ShowTriggerActionsDetermines whether relationship trigger actions are displayed (true) or not (false). DATATYPE: Boolean.
ShowVerbsDetermines whether verbs are displayed (true) or not (false). DATATYPE: Boolean.
ShowViewNameCompartmentDetermines whether view name compartments are displayed (true) or not (false). DATATYPE: Boolean.
ShowViewOwnerDetermines whether view's owner is displayed (true) or not (false). DATATYPE: Boolean.
ShowViewParentNameDetermines whether view's parent name is displayed (true) or not (false). DATATYPE: Boolean.
ShowViewRelationshipsDetermines whether view relationships are drawn (true) or not (false). DATATYPE: Boolean.
ShowViewsDetermines whether views are displayed (true) or not (false). DATATYPE: Boolean.
SnapToGridDetermines whether to snap objects (entites, views, etc.) to the grid (true) or not (false). DATATYPE: Boolean.
StraightRelLineDetermines whether straight relationship lines are drawn (true) or not (false). DATATYPE: Boolean.
TextBackgroundColorColor for the background of the text object. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
TextBlockBorderColorColor for the border of the text object. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
TextBlockFontFont for the text object. 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.
TextForegroundColorColor for the text in text objects. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
TitleBlockBackgroundColorColor for the background of title blocks. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
TitleBlockBorderColorColor for the border of the title block. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
TitleBlockFontFont for the title block. 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.
TitleBlockTextColorColor for the text of the title block. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
TriggerColorColor for Triggers. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
TriggerFontFont for Triggers. 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.
VerbFontFont for the verb. 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.
VerbTextColorColor for the verb. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
VerticalScrollPositionVertical scroll bar position of the diagram display window. DATATYPE: Integer.
VerticalViewSizeHeight of the diagram display window. DATATYPE: Integer.
ViewBackgroundColorColor for the background of views. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
ViewDisplayFormatDisplay format of Views in the submodel. Valid values are: Attributes = 1, Entities = 2, Primary Keys = 3, All Keys = 4, Definition = 5, Note = 6. DATATYPE: Integer.
ViewFieldFontFont for local, non-key view fields. 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.
ViewFieldTextColorColor for the view field text. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
ViewForegroundColorColor for the foreground of views. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
ViewNameFontFont for the view 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.
ViewRelationshipColorColor for the view relationship. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
ViewTitleColorColor for the title text of views. This property takes a 4-byte integer where the first byte represents a red value (0-255), the second byte represents a green value (0-255), and the third byte represents a blue value (0-255).
WrapEntityNameDetermines whether entity names are wrapped (true) or not (false). DATATYPE: Boolean.
WrapViewNameDetermines whether view names are wrapped (true) or not (false). DATATYPE: Boolean.
ZoomFactorViewing zoom percentage of the submodel (ie, 50, 100, %200, etc.). DATATYPE: Integer.