Search
DiagramDocument Methods
 


 Public Methods

  Name Description

addPage

Adds a page to the document.

fromJson

Deserializes the document from a JSON string.

fromXmlDocument

Loads document contents from specified XML Document.

loadFromString

Loads document contents from specified XML or JSON string.

loadFromXml

Loads the document from an XML file.

raiseClicked

Raises an event which notifies that a Diagram item has been clicked. (Inherited from DiagramBase.)

raiseCreated

Raises an event which notifies that a Diagram item has been created. (Inherited from DiagramBase.)

raiseDeleted

Raises an event which notifies that a Diagram item has been deleted. (Inherited from DiagramBase.)

raiseDeselected

Raises an event which notifies that a Diagram item has been deselected. (Inherited from DiagramBase.)

raiseDoubleClicked

Raises an event which notifies that a Diagram item has been double-clicked. (Inherited from DiagramBase.)

raiseModified

Raises an event which notifies that a Diagram item has been modified. (Inherited from DiagramBase.)

raisePasted

Raises an event which notifies that a Diagram item has been pasted from clipboard. (Inherited from DiagramBase.)

raiseSelected

Raises an event which notifies that a Diagram item has been selected. (Inherited from DiagramBase.)

raiseSelecting

Raises an event which notifies that a Diagram item will be selected. (Inherited from DiagramBase.)

raiseSelectionChanged

Raises an event which notifies that the selection has changed. (Inherited from DiagramBase.)

removePage

Removes the specified page from the document.

saveToString

Encodes the document contents into an XML or JSON string.

saveToXml

Saves the document to an XML file.

toJson

Serializes the document into a JSON string.

toXmlDocument

Saves the document into an XML Document.

 See Also