ASPxClientDiagram Methods
A client-side equivalent of the ASPxDiagram control.| Name | Description |
|---|---|
| AdjustControl | Modifies the control’s size against the control’s container. Inherited from ASPxClientControl. |
| AdjustControls static | Modifies the controls size within the specified container. Inherited from ASPxClientControl. |
| Cast(obj) static | Converts the specified object to the current object’s type. Inherited from ASPxClientControl. |
| Export | Exports the diagram data in JSON format. |
| ExportTo(format, callback) | Exports the diagram to an image format. |
| FitToContent | Fits the diagram content into the work area. The maximum scale is 100%. |
| FitToWidth | Fits the diagram content’s width into the work area width. The maximum scale is 100%. |
| Focus | Focuses the Diagram control. |
| GetClientVisible | Obsolete. Returns a value specifying whether a control is displayed. Inherited from ASPxClientControlBase. |
| GetControlCollection static | Returns a collection of client web control objects. Inherited from ASPxClientControl. |
| GetHeight | Returns the control’s height. Inherited from ASPxClientControl. |
| GetItemById(id) | Returns a shape or connector object specified by its internal identifier. |
| GetItemByKey(key) | Returns a shape or connector object specified by its key. |
| GetItems | Returns an array of diagram items. |
| GetMainElement | Returns an HTML element that is the root of the control’s hierarchy. Inherited from ASPxClientControlBase. |
| GetParentControl | Returns a client instance of the control that is the parent for a specified control. Inherited from ASPxClientControlBase. |
| GetReadOnly | Returns a value that indicates whether the control’s status is read-only. |
| GetSelectedItems | Returns an array of selected diagram items. |
| GetVisible | Returns a value specifying whether a control is displayed. Inherited from ASPxClientControlBase. |
| GetWidth | Returns the control’s width. Inherited from ASPxClientControl. |
| Import(data) | Imports the diagram data. |
| InCallback | Returns a value that determines whether a callback request sent by a web control is being currently processed on the server side. Inherited from ASPxClientControlBase. |
| ScrollToItem(item) | Scrolls the view area to the specified item. |
| SendMessageToAssistiveTechnology(message) | Specifies the text that Assistive Technologies (screen readers or braille display, for example) will provide to a user. Inherited from ASPxClientControlBase. |
| SetClientVisible(visible) | Obsolete. Specifies whether a control is displayed. Inherited from ASPxClientControlBase. |
| SetFullscreenMode(fullscreen) | Allows you to enable/disable full-screen mode. |
| SetHeight(height) |
Specifies the control’s height. Note that this method is not in effect for some controls. Inherited from ASPxClientControl. |
| SetReadOnly(readOnly) | Allows you to enable/disable read-only mode. |
| SetSelectedItems(items) | Selects the specified items. |
| SetVisible(visible) | Specifies whether a control is displayed. Inherited from ASPxClientControlBase. |
| SetWidth(width) | Specifies the control’s width in pixels. Inherited from ASPxClientControl. |
| UpdateToolbox | Updates the diagram toolboxes. |
See Also