Search
DiagramDocument Methods
 


 Public Methods

  Name Description

Clone

Creates a copy of this DiagramDocument.

CopyTo

Copies this document's pages to specified target document.

LoadFromJson

Loads the diagram document from a JSON-formatted string.

LoadFromJsonAsync

Loads the diagram document from a JSON-formatted string.

LoadFromJsonFile

Loads the diagram document from a JSON file.

LoadFromJsonFileAsync

Loads the diagram document from a JSON file.

LoadFromJsonObject

Loads the diagram document from a JSON object.

LoadFromString

Loads a diagram from the specified string.

LoadFromXml

Overloaded. Loads the document from an XML.

LoadFromXmlAsync

Overloaded.  

Print

Shows Print dialog and prints the diagram. (Inherited from DiagramBase.)

PrintPreview

Overloaded. Displays the diagram in a Print Preview window. (Inherited from DiagramBase.)

SaveToJson

Saves the diagram document to a JSON-formatted string.

SaveToJsonAsync

Saves the diagram document to a JSON-formatted string.

SaveToJsonFile

Saves the diagram document into a JSON file.

SaveToJsonFileAsync

Saves the diagram document into a JSON file.

SaveToJsonObject

Saves the diagram document to a JSON object.

SaveToString

Overloaded. Saves the document as a string.

SaveToXml

Overloaded. Saves the document as an XML.

SaveToXmlAsync

Overloaded.  

 Protected Methods

  Name Description

OnActionRecorded

Raises the ActionRecorded event. (Inherited from DiagramBase.)

OnActionRecording

Raises the ActionRecording event. (Inherited from DiagramBase.)

OnActionRedone

Raises the ActionRedone event. (Inherited from DiagramBase.)

OnActionUndone

Raises the ActionUndone event. (Inherited from DiagramBase.)

OnArranged

Raises the Arranged event. (Inherited from DiagramBase.)

OnBeginLoad

Raises the BeginLoad event. (Inherited from DiagramBase.)

OnBoundsChanged

Raises the BoundsChanged event. (Inherited from DiagramBase.)

OnCellClicked

Raises the CellClicked event. (Inherited from DiagramBase.)

OnCellDoubleClicked

Raises the CellDoubleClicked event. (Inherited from DiagramBase.)

OnCellTextEdited

Raises the CellTextEdited event. (Inherited from DiagramBase.)

OnCellTextEditing

Raises the CellTextEditing event to validate entering inplace edit mode. (Inherited from DiagramBase.)

OnClicked

Raises the Clicked event. (Inherited from DiagramBase.)

OnContainerChildAdded

Raises the ContainerChildAdded event. (Inherited from DiagramBase.)

OnContainerChildAdding

Raises the ContainerChildAdding event. (Inherited from DiagramBase.)

OnContainerChildRemoved

Raises the ContainerChildRemoved event. (Inherited from DiagramBase.)

OnContainerChildRemoving

Raises the ContainerChildRemoving event. (Inherited from DiagramBase.)

OnContainerFolded

Raises the ContainerFolded event. (Inherited from DiagramBase.)

OnContainerUnfolded

Raises the ContainerUnfolded event. (Inherited from DiagramBase.)

OnContextMenuOpening

Raises the ContextMenuOpening event. (Inherited from DiagramBase.)

OnCopyHostedControl

Raises the CopyHostedControl event. (Inherited from DiagramBase.)

OnDefaultShapeChanged

Raises the DefaultShapeChanged event. (Inherited from DiagramBase.)

OnDeserializeControl

Raises the DeserializeControl event. (Inherited from DiagramBase.)

OnDeserializeTag

Raises the DeserializeTag event. (Inherited from DiagramBase.)

OnDestinationAnchorChanged

Raises the DestinationAnchorChanged event. (Inherited from DiagramBase.)

OnDirtyChanged

Raises the DirtyChanged event. (Inherited from DiagramBase.)

OnDoubleClicked

Raises the DoubleClicked event. (Inherited from DiagramBase.)

OnDrawAdjustmentHandles

Raises the DrawAdjustmentHandles event. (Inherited from DiagramBase.)

OnDrawAnchorPoint

Raises the DrawAnchorPoint event. (Inherited from DiagramBase.)

OnDrawBackground

Raises the DrawBackground event. (Inherited from DiagramBase.)

OnDrawCell

Raises the DrawCell event. (Inherited from DiagramBase.)

OnDrawForeground

Raises the DrawForeground event. (Inherited from DiagramBase.)

OnDrawLaneHeader

Raises the DrawLaneHeader event. (Inherited from DiagramBase.)

OnDrawLink

Raises the DrawLink event. (Inherited from DiagramBase.)

OnDrawNode

Raises the DrawNode event. (Inherited from DiagramBase.)

OnEndLoad

Raises the EndLoad event. (Inherited from DiagramBase.)

OnEnterInplaceEditMode

Raises the EnterInplaceEditMode event. (Inherited from DiagramBase.)

OnExpandButtonClicked

Raises the ExpandButtonClicked event. (Inherited from DiagramBase.)

OnGroupDestroyed

Raises the GroupDestroyed event. (Inherited from DiagramBase.)

OnHitTestAdjustmentHandles

Raises the HitTestAdjustmentHandles event. (Inherited from DiagramBase.)

OnInitializeLasso

Raises the InitializeLasso event. (Inherited from DiagramBase.)

OnInitializeLink

Raises the InitializeLink event. (Inherited from DiagramBase.)

OnInitializeNode

Raises the InitializeNode event. (Inherited from DiagramBase.)

OnItemAdded

Raises the ItemAdded event. (Inherited from DiagramBase.)

OnItemRemoved

Raises the ItemRemoved event. (Inherited from DiagramBase.)

OnJsonDeserializeTag

Raises the JsonDeserializeTag event. (Inherited from DiagramBase.)

OnJsonSerializeTag

Raises the JsonSerializeTag event. (Inherited from DiagramBase.)

OnLaneGridHeaderTextEdited

Raises the LaneGridHeaderTextEdited event. (Inherited from DiagramBase.)

OnLaneGridHeaderTextEditing

Raises the LaneGridHeaderTextEditing event. (Inherited from DiagramBase.)

OnLeaveInplaceEditMode

Raises the LeaveInplaceEditMode event. (Inherited from DiagramBase.)

OnLinkActivated

Raises the LinkActivated event. (Inherited from DiagramBase.)

OnLinkClicked

Raises the LinkClicked event. (Inherited from DiagramBase.)

OnLinkCreateCancelled

Raises the LinkCreateCancelled event. (Inherited from DiagramBase.)

OnLinkCreated

Raises the LinkCreated event. (Inherited from DiagramBase.)

OnLinkCreating

Raises the LinkCreating event. (Inherited from DiagramBase.)

OnLinkDeactivated

Raises the LinkDeactivated event. (Inherited from DiagramBase.)

OnLinkDeleted

Raises the LinkDeleted event. (Inherited from DiagramBase.)

OnLinkDeleting

Raises the LinkDeleting event. (Inherited from DiagramBase.)

OnLinkDeselected

Raises the LinkDeselected event. (Inherited from DiagramBase.)

OnLinkDoubleClicked

Raises the LinkDoubleClicked event. (Inherited from DiagramBase.)

OnLinkHovered

Raises the LinkHovered event. (Inherited from DiagramBase.)

OnLinkMenuOpening

Raises the LinkMenuOpening event. (Inherited from DiagramBase.)

OnLinkModified

Raises the LinkModified event. (Inherited from DiagramBase.)

OnLinkModifyCancelled

Raises the LinkModifyCancelled event. (Inherited from DiagramBase.)

OnLinkModifying

Raises the LinkModifying event. (Inherited from DiagramBase.)

OnLinkPasted

Raises the LinkPasted event. (Inherited from DiagramBase.)

OnLinkPointerEnter

Raises the LinkPointerEnter event. (Inherited from DiagramBase.)

OnLinkPointerLeave

Raises the LinkPointerLeave event. (Inherited from DiagramBase.)

OnLinkRouted

Raises the LinkRouted event. (Inherited from DiagramBase.)

OnLinkSelected

Raises the LinkSelected event. (Inherited from DiagramBase.)

OnLinkSelecting

Raises the LinkSelecting event. (Inherited from DiagramBase.)

OnLinkSplit

Raises the LinkSplit event. (Inherited from DiagramBase.)

OnLinkStartModifying

Raises the LinkStartModifying event. (Inherited from DiagramBase.)

OnLinkTextEdited

Raises the LinkTextEdited event. (Inherited from DiagramBase.)

OnLinkTextEditing

Raises the LinkTextEditing event to validate entering inplace edit mode. (Inherited from DiagramBase.)

OnMagnifierFactorChanged

Raises the MagnifierFactorChanged event. (Inherited from DiagramBase.)

OnMeasureUnitChanged

Raises the MeasureUnitChanged event. (Inherited from DiagramBase.)

OnNodeActivated

Raises the NodeActivated event. (Inherited from DiagramBase.)

OnNodeClicked

Raises the NodeClicked event. (Inherited from DiagramBase.)

OnNodeCreateCancelled

Raises the NodeCreateCancelled event. (Inherited from DiagramBase.)

OnNodeCreated

Raises the NodeCreated event. (Inherited from DiagramBase.)

OnNodeCreating

Raises the NodeCreating event. (Inherited from DiagramBase.)

OnNodeDeactivated

Raises the NodeDeactivated event. (Inherited from DiagramBase.)

OnNodeDeleted

Raises the NodeDeleted event. (Inherited from DiagramBase.)

OnNodeDeleting

Raises the NodeDeleting event. (Inherited from DiagramBase.)

OnNodeDeselected

Raises the NodeDeselected event. (Inherited from DiagramBase.)

OnNodeDoubleClicked

Raises the NodeDoubleClicked event. (Inherited from DiagramBase.)

OnNodeHovered

Raises the NodeHovered event. (Inherited from DiagramBase.)

OnNodeMenuOpening

Raises the NodeMenuOpening event. (Inherited from DiagramBase.)

OnNodeModified

Raises the NodeModified event. (Inherited from DiagramBase.)

OnNodeModifyCancelled

Raises the NodeModifyCancelled event. (Inherited from DiagramBase.)

OnNodeModifying

Raises the NodeModifying event. (Inherited from DiagramBase.)

OnNodePasted

Raises the NodePasted event. (Inherited from DiagramBase.)

OnNodePointerEnter

Raises the NodePointerEnter event. (Inherited from DiagramBase.)

OnNodePointerLeave

Raises the NodePointerLeave event. (Inherited from DiagramBase.)

OnNodeSelected

Raises the NodeSelected event. (Inherited from DiagramBase.)

OnNodeSelecting

Raises the NodeSelecting event. (Inherited from DiagramBase.)

OnNodeStartModifying

Raises the NodeStartModifying event. (Inherited from DiagramBase.)

OnNodeTextEdited

Raises the NodeTextEdited event. (Inherited from DiagramBase.)

OnNodeTextEditing

Raises the NodeTextEditing event to validate entering inplace edit mode. (Inherited from DiagramBase.)

OnOriginAnchorChanged

Raises the OriginAnchorChanged event. (Inherited from DiagramBase.)

OnSelectionChanged

Raises the SelectionChanged event. (Inherited from DiagramBase.)

OnSelectionModified

Raises the SelectionModified event. (Inherited from DiagramBase.)

OnSelectionModifyCancelled

Raises the SelectionModifyCancelled event. (Inherited from DiagramBase.)

OnSelectionModifying

Raises the SelectionModifying event. (Inherited from DiagramBase.)

OnSelectionStartModifying

Raises the SelectionStartModifying event. (Inherited from DiagramBase.)

OnSerializeControl

Raises the SerializeControl event. (Inherited from DiagramBase.)

OnSerializeTag

Raises the SerializeTag event. (Inherited from DiagramBase.)

OnSetSelfLoopShape

Raises the SetSelfLoopShape event. (Inherited from DiagramBase.)

OnShapeModified

Raises the ShapeModified event. (Inherited from DiagramBase.)

OnTableColumnResized

Raises the TableColumnResized event. (Inherited from DiagramBase.)

OnTableColumnResizing

Raises the TableColumnResizing event. (Inherited from DiagramBase.)

OnTableRowResized

Raises the TableRowResized event. (Inherited from DiagramBase.)

OnTableRowResizing

Raises the TableRowResizing event. (Inherited from DiagramBase.)

OnTableSectionCollapsed

Raises the TableSectionCollapsed event. (Inherited from DiagramBase.)

OnTableSectionExpanded

Raises the TableSectionExpanded event. (Inherited from DiagramBase.)

OnTreeCollapsed

Raises the TreeCollapsed event. (Inherited from DiagramBase.)

OnTreeExpanded

Raises the TreeExpanded event. (Inherited from DiagramBase.)

OnTreeItemTextEditing

Raises the TreeItemTextEditing event. (Inherited from DiagramBase.)

OnValidateAnchorPoint

Raises the ValidateAnchorPoint event. (Inherited from DiagramBase.)

OnValidateLinkCrossing

Raises the ValidateLinkCrossing event. (Inherited from DiagramBase.)

 See Also