ConceptDraw access Objects

 

Object Name Description
Action

Provides access to the user-defined menu items. An instance of the Action object can be retrieved by using the methods of the Shape object.

Application

Provides access to the ConceptDraw application. Allows to open and close documents, create new documents, libraries and workspace files, import files of various formats and more. An instance of the Application object can be retrieved from the thisApp global variable.

Character

Provides access to various text properties, such as font, font size, color, style, etc. An instance of the Character object can be retrieved from the Document, Style, Shape objects.

Color

An object for working with color. An instance of the Color object can be retrieved from the Character, Document, Layer, Shape, Style, TextBlock objects.

ColorEntry

An object for working with the color palette of the document. An instance of the ColorEntry object can be retrieved from the Document object.

ConnectDot This object stores the coordinates of a connection point. An instance of the ConnectDot object can be retrieved from the Shape object.
ControlDot

Provides access to the properties of a shape's control handle. An instance of the ControlDot object can be retrieved from the Shape object.

CustomProp Stores additional information about the shape. An instance of the CustomProp object can be retrieved from the Shape object.
Document Provides access to the contents and properties of the document, opened in ConceptDraw. An instance of the Document object can be retrieved by using methods and properties of the Application object.
DPoint

A service object which stores point's coordinates, used in coordinate transformations.

DRect

Service object used to store coordinates of a rectangle and containing methods for working with it.

Geometry

The Geometry object is used to control the properties of a shape's geometry. It allows to modify the geometry properties, which affect the way the geometry looks. An instance of the Geometry object can be retrieved by using the methods of the Shape object.

HyperLink Provides access to the hyperlink properties of the document. Hyperlinks are stored in the document and allow to link shapes of the document to other shapes, pages of the document, other files or URLs. An instance of the Hyperlink object can be retrieved by using the methods of the Document object.
Layer

Controls properties of a document's layers. You can use layers to organize related objects in the document. An instance of the Layer object can be retrieved from the Document object.

Library Provides access to the contents and properties of a library, open in ConceptDraw. Allows to view and edit the contents of the library. An instance of the Library object can be retrieved by using the properties and methods of the Application object.
Master Provides access to the properties and contents of a library object (master object). An instance of the Master object can be retrieved by using the methods of the Library object.
Menu Provides access to the user-defined menu of the application or document. Is used together with the MenuItem object to organize multi-level structure of the user-defined menu in ConceptDraw. An instance of the Menu object can be retrieved from the following objects: Application, Document, Menu, MenuItem.
MenuItem Provides access to the contents and properties of a user-defined menu item of ConceptDraw. A menu-item can be associated with a procedure or contain a submenu. An instance of the MenuItem object can be retrieved by using the methods of the Menu object.
Page Is used for controlling and accessing the contents of a document page. By using the methods of the Page object, you can get access to the existing shapes on the page or create new shapes. An instance of the Page object can be retrieved by using the methods and properties of the Document object.
Paragraph

Provides access to various paragraph properties of text. An instance of this object can be retrieved from the Document, Style, Shape objects.

ServObj

Used to control various properties of service objects, such as guides. Service objects can be located as on a page, as in a separate group. Service objects carry out auxiliary functions. In particular, a guide line can be used for aligning shapes. An instance of the ServObj object can be retrieved from the Page and Shape objects.

Shape The Shape is used for controlling and obtaining information about a shape in a ConceptDraw document. Provides access to virtually all elements and characteristics of a shape. Shape objects can exist on the pages of the document, in libraries, inside groups. An instance of the Shape object can be retrieved by using the methods and properties of the following objects: Page, Shape, ServObj, Master, Window.
Style

Provides access to various style properties of a ConceptDraw document. An instance of the Style object can be retrieved by using methods of the Document object.

TabStop

Provides access to tabulation properties. An instance of the TabStop object can be retrieved from the TextBlock object.

TextBlock

Provides access to various text block properties, such as vertical and horizontal alignment and other. An instance of the TextBlock object can be retrieved from the Document, Style, Shape objects.

Variable

A service object. You may need variables when several different fields use result of the same calculations. So, the additional variables can be used to store the results. You may also use the additional variables to store various object parameters, which you're working with, so that you don't have to refer to them. An instance of this object can be retrieved from the Shape object.

Window

Is used for controlling and obtaining information about the state of the library window of ConceptDraw. An instance of the Window object can be retrieved from the following objects: Application, Document.