DroidDiagram Programmer's Guide
DiagramPage Members
Constructors Methods
 


Represents a single page in a DiagramDocument object.

The following tables list the members exposed by the DiagramPage type.

 Public Constructors

  Name Description

DiagramPage

Initializes a new instance of the DiagramPage class.

 Public Methods

  Name Description

addDiagramListener

Registers listener so that it will receive events when users create, modify or delete diagram items. (Inherited from Diagram.)

addPropertyChangeListener

 

alignPointToGrid

Aligns a point to the alignment grid. (Inherited from Diagram.)

arrangeLinkLabels

Rearranges link labels whose AutoArrange property is enabled. (Inherited from Diagram.)

changeUnit

Sets new MeasureUnit value and scales the coordinates of diagram items so that their absolute size remains unchanged. (Inherited from Diagram.)

clearAll

Deletes all items from the diagram. (Inherited from Diagram.)

copySelection

Creates a copy of the currently selected objects and groups. (Inherited from Diagram.)

createImage

Overloaded. Creates a bitmap image representing the diagram contents. (Inherited from Diagram.)

createItem

Implements the IItemFactory interface. (Inherited from Diagram.)

createStyledText

Creates a styled text object for the specified text string. (Inherited from Diagram.)

createThemeFromDefaults

Creates a Theme object representing the default properties of the diagram. This method is only for compatibility with files saved with versions earlier than 4.0. (Inherited from Diagram.)

destroyGroup

Destroys the specified group. The group items are not deleted, unless its setAutoDeleteItems method is calles. (Inherited from Diagram.)

draw

Renders the diagram on the specified Canvas object. (Inherited from Diagram.)

drawAlignmentGuides

Draws the current alignment guides. (Inherited from Diagram.)

drawLayer

Renders all items of a layer to the specified graphics. (Inherited from Diagram.)

drawString

  (Inherited from Diagram.)

drawStyledText

  (Inherited from Diagram.)

drawTextObject

  (Inherited from Diagram.)

executeCommand

Executes a command and saves it in the undo/redo history. (Inherited from Diagram.)

findGroup

Finds the group that has the specified tag. (Inherited from Diagram.)

findLink

Finds the link that has the specified tag. (Inherited from Diagram.)

findLinkById

Finds the link that has the specified id value. (Inherited from Diagram.)

findNode

Finds the node that has the specified tag. (Inherited from Diagram.)

findNodeById

Finds the node that has the specified id value. (Inherited from Diagram.)

getActiveItem

Gets the active item. (Inherited from Diagram.)

getActiveItemHandlesStyle

Gets the visual style of the manipulation handles displayed around the active item. (Inherited from Diagram.)

getActiveLayer

Gets the zero-based index of the active layer. (Inherited from Diagram.)

getAdjustmentHandlesSize

Gets the size of selection handles. (Inherited from Diagram.)

getAlignmentGuidePen

Gets the pen used to draw alignment guides. (Inherited from Diagram.)

getAlignToGrid

Gets a value indicating whether items are aligned to the alignment grid while users draw them. (Inherited from Diagram.)

getAllowLinksRepeat

Gets a value indicating whether users are allowed to draw more than one links between the same nodes. (Inherited from Diagram.)

getAllowMultipleResize

Gets whether multiple selected nodes can be resized simultaneously. (Inherited from Diagram.)

getAllowSelfLoops

Gets whether users are allowed to draw reflexive links. (Inherited from Diagram.)

getAllowSplitLinks

Gets whether link segments can be added and removed interactively. (Inherited from Diagram.)

getAllowUnanchoredLinks

Gets a value indicating whether users are allowed to attach links to nodes that do not have any anchor points. (Inherited from Diagram.)

getAllowUnconnectedLinks

Gets a value indicating whether users are allowed to draw unconnected links. (Inherited from Diagram.)

getAutoAlignDistance

Gets the maximal horizontal or vertical distance at which a node aligns to the borders of other nodes. (Inherited from Diagram.)

getAutoAlignNodes

Gets whether nodes should automatically align to the borders of other nodes during user interaction. (Inherited from Diagram.)

getAutoCloseDistance

Gets the maximum distance between first and last points of a FreeFormNode for which the node's outline is closed automatically. (Inherited from Diagram.)

getAutoResize

Gets a value specifying whether the document scrollable area is resized automatically when users draw items near the edges of the diagram. (Inherited from Diagram.)

getAutoSnapDistance

Specifies the maximum distance at which links auto-snap to nodes. (Inherited from Diagram.)

getAutoSnapLinks

Gets the default value for the AutoSnapToNode property of new links. (Inherited from Diagram.)

getBackBrush

Gets the diagram's background brush. (Inherited from Diagram.)

getBackgroundImage

Gets the background image. (Inherited from Diagram.)

getBackgroundImageAlign

Gets how the background image is positioned relatively to the scrollable area of the diagram. (Inherited from Diagram.)

getBackgroundImageUrl

Gets the URL of the background image. (Inherited from Diagram.)

getBounds

Gets the bounds of the scrollable area of the diagram. (Inherited from Diagram.)

getBoundsPen

Gets the pen with which the diagram bounds are drawn. (Inherited from Diagram.)

getCellFrameStyle

Gets the default style of the cell frames of new tables. (Inherited from Diagram.)

getClsidTable

Gets the table of registered item identifiers. (Inherited from Diagram.)

getContainerCaption

Gets the default value for the Caption attribute of containers. (Inherited from Diagram.)

getContainerCaptionHeight

Gets the default value for the CaptionHeight attribute of containers. (Inherited from Diagram.)

getContainerHighlightPen

Gets the default value for the HighlightPen attribute of containers. (Inherited from Diagram.)

getContainerMargin

Gets the default value for the Margin attribute of containers. (Inherited from Diagram.)

getContainerMinimumSize

Gets the default value for the MinimumSize attribute of containers. (Inherited from Diagram.)

getContainerNodeStyle

Gets the theme-level style for container nodes. (Inherited from Diagram.)

getContainersFoldable

Gets the default value for the Foldable attribute of containers. (Inherited from Diagram.)

getContentBounds

Returns the smallest rectangle that bounds all diagram items. (Inherited from Diagram.)

getCrossingRadius

Gets the radius of the shapes drawn at link crossing points. (Inherited from Diagram.)

getDefaultControlType

Gets the type of components that will be hosted by default in newly created ControlNode objects. (Inherited from Diagram.)

getDefaultShape

Gets the default shape of nodes. (Inherited from Diagram.)

getDiagramLinkStyle

Gets the theme-level style for diagram links. (Inherited from Diagram.)

getDiagramStyle

Gets the theme-level style for the diagram. (Inherited from Diagram.)

getDirty

Indicates whether the diagram has changed since the last save. (Inherited from Diagram.)

getDisabledHandlesStyle

Gets the visual style of disabled manipulation handles. (Inherited from Diagram.)

getDynamicLinks

Gets a value indicating whether links automatically update their end points positions so that they will always point towards the node centers. (Inherited from Diagram.)

getEffectiveBackBrush

Gets the currently effective background brush of the diagram. This property returns the BackBrush if it is not null, or the brush from the associated style or theme otherwise. (Inherited from Diagram.)

getEnableLanes

Gets whether lanes are enabled. (Inherited from Diagram.)

getEnableStyledText

Gets a value indicating whether new nodes display richly formatted text. (Inherited from Diagram.)

getExpandButtonAction

Gets what should happen when a user clicks the +/- button that is displayed near expandable nodes. (Inherited from Diagram.)

getExpandButtonPosition

Gets where expand/collapse buttons are located relatively to their nodes. (Inherited from Diagram.)

getExpandOnIncoming

Gets which direction of links is considered the tree direction when expanding or collapsing diagram branches. (Inherited from Diagram.)

getFactory

Gets a Factory instance that lets you add programmatically new items to the diagram. (Inherited from Diagram.)

getFoldedContainerSize

Gets the size of folded containers. (Inherited from Diagram.)

getFont

Gets the default font for new diagram items. (Inherited from Diagram.)

getFormatBeingLoaded

Returns the file format id of the file currently being loaded. (Inherited from Diagram.)

getFreeFormAttractDistance

Gets the radius around dragged free-form adjustment handle in which other points of FreeFormNode are modified too. (Inherited from Diagram.)

getFreeFormTargets

Gets an array of Shape objects used to replace FreeFormNode instances with ShapeNode ones when Behavior is set to LinkFreeShapes or DrawFreeShapes. (Inherited from Diagram.)

getGridColor

Gets the color of the alignment grid. (Inherited from Diagram.)

getGridOffsetX

Gets the horizontal offset of the first point of the alignment grid. (Inherited from Diagram.)

getGridOffsetY

Gets the vertical offset of the first point of the alignment grid. (Inherited from Diagram.)

getGridSizeX

Gets the horizontal distance between grid points. (Inherited from Diagram.)

getGridSizeY

Gets the vertical distance between grid points. (Inherited from Diagram.)

getGridStyle

Gets the appearance style of the alignment grid. (Inherited from Diagram.)

getGroups

Gets a collection of all groups in the diagram. (Inherited from Diagram.)

getHitTestPriority

Gets a value indicating the order in which items are hit-tested. (Inherited from Diagram.)

getIcon

Gets an image associated with the page.

getImageDpiX

Specifies the default resolution of images. (Inherited from Diagram.)

getImageDpiY

  (Inherited from Diagram.)

getInteraction

Gets an InteractionState instance representing the current action being carried out by the user. (Inherited from Diagram.)

getItemAt

Overloaded.   (Inherited from Diagram.)

getItems

Gets a collection of all items in the diagram. (Inherited from Diagram.)

getLaneGrid

Gets the Grid instance that represents the lane grid. (Inherited from Diagram.)

getLayers

Gets a list of the layers in the current diagram. (Inherited from Diagram.)

getLinkAt

Overloaded.   (Inherited from Diagram.)

getLinkBaseShape

Gets the default shape displayed at the origin of new links. (Inherited from Diagram.)

getLinkBaseShapeSize

Gets the default size of the shape displayed at the origin of new links. (Inherited from Diagram.)

getLinkBrush

Gets the default brush assigned to new links. (Inherited from Diagram.)

getLinkCascadeOrientation

Gets the default orientation of the first segments of cascading links. (Inherited from Diagram.)

getLinkCrossings

Gets what shapes are drawn at link crossing points. (Inherited from Diagram.)

getLinkCustomDraw

Gets the default type of custom painting done on links. (Inherited from Diagram.)

getLinkEndsMovable

Gets a value indicating that users are allowed to move the end points of a link after the link is created. (Inherited from Diagram.)

getLinkHandlesStyle

Gets the default style of link selection handles. (Inherited from Diagram.)

getLinkHeadShape

Gets the default shape displayed as head of new links. (Inherited from Diagram.)

getLinkHeadShapeSize

Gets the default size of the shape displayed as arrowhead of new links. (Inherited from Diagram.)

getLinkIntermediateShape

Gets the default shape displayed at the middle of links segments. (Inherited from Diagram.)

getLinkIntermediateShapeSize

Gets the default size of the shape displayed at the middle of links segments. (Inherited from Diagram.)

getLinkPen

Gets the default pen assigned to new links. (Inherited from Diagram.)

getLinkRouter

Gets the component used to find paths for auto-routed links when diagram nodes are added or their positions change. (Inherited from Diagram.)

getLinks

Gets a collection of all links in the diagram. (Inherited from Diagram.)

getLinksAt

Returns the links that contain the specified point. (Inherited from Diagram.)

getLinkSegments

Gets the default number of link segments. (Inherited from Diagram.)

getLinkShape

Gets the default shape of links. (Inherited from Diagram.)

getLinksRetainForm

Gets a value indicating whether new links are set to maintain their shapes while the nodes they connect are moved around. (Inherited from Diagram.)

getLinkText

Gets the default text assigned to new links. (Inherited from Diagram.)

getLinkTextStyle

Gets the default placement and orientation of links' text. (Inherited from Diagram.)

getMeasureUnit

Gets the current unit of measure. (Inherited from Diagram.)

getMergeThreshold

Gets the maximum distance between adjacent control points of a link at which the respective segments can be merged. (Inherited from Diagram.)

getNearestNode

Returns the nearest node whose bounding rectangle is intersected by the circle, defined by origin point and radius. (Inherited from Diagram.)

getNodeAt

Overloaded.   (Inherited from Diagram.)

getNodeEffects

Gets a collection with all effects applied to the nodes of this diagram. (Inherited from Diagram.)

getNodes

Gets a collection of all nodes in the diagram. (Inherited from Diagram.)

getNodesAt

Returns the nodes that contain the specified point. (Inherited from Diagram.)

getNodesExpandable

Gets whether the tree branches that start from new nodes are expandable by default. (Inherited from Diagram.)

getRecursiveExpand

Gets whether tree branches are expanded recursively. (Inherited from Diagram.)

getRenderOptions

  (Inherited from Diagram.)

getRestrictItemsToBounds

Gets a value indicating whether users are allowed to move items outside the currently defined document bounds. (Inherited from Diagram.)

getRouteLinks

Gets a value indicating whether newly created links will automatically find their way between nodes. (Inherited from Diagram.)

getRoutingOptions

Gets a RoutingOptions instance that lets you set various attributes of the link routing algorithm. (Inherited from Diagram.)

getSelectAfterCreate

Gets a value indicating whether newly created items are selected automatically. (Inherited from Diagram.)

getSelectedItemHandlesStyle

Gets the visual style of the manipulation handles displayed around selected items. (Inherited from Diagram.)

getSelection

Gets a Selection instance representing the current selection. (Inherited from Diagram.)

getSelectionOnTop

Gets a value indicating whether selected items are drawn on top of the non-selected ones. (Inherited from Diagram.)

getShadowBrush

Gets .the default brush used to paint the shadows cast by diagram items. (Inherited from Diagram.)

getShadowOffsetX

Gets the default horizontal distance between shadows and the items that cast them. (Inherited from Diagram.)

getShadowOffsetY

Gets the default vertical distance between shadows and the items that cast them. (Inherited from Diagram.)

getShadowsStyle

Gets the style of shadows. (Inherited from Diagram.)

getShapeBrush

Gets the default brush assigned to new nodes. (Inherited from Diagram.)

getShapeCustomDraw

Gets whether new nodes should be custom drawn and what type of custom drawing will be performed on them. (Inherited from Diagram.)

getShapeHandlesStyle

Gets the default value for the HandlesStyle property of new shape nodes. (Inherited from Diagram.)

getShapeNodeStyle

Gets the theme-level style for shape nodes. (Inherited from Diagram.)

getShapeOrientation

Gets the default shape definition orientation angle assigned to new nodes. (Inherited from Diagram.)

getShapePen

Gets the default pen assigned to new nodes. (Inherited from Diagram.)

getShapeText

Gets the default text assigned to new nodes. (Inherited from Diagram.)

getShowAnchors

Gets a value indicating whether anchor points should be shown on screen. (Inherited from Diagram.)

getShowDisabledHandles

Gets whether disabled manipulation handles are displayed. (Inherited from Diagram.)

getShowGrid

Gets a value indicating whether the alignment grid is displayed. (Inherited from Diagram.)

getShowHandlesOnDrag

Gets whether selection handles of objects under the pointer are displayed while another object is being modified. (Inherited from Diagram.)

getSnapToAnchor

Gets a value indicating when links should snap to anchor points. (Inherited from Diagram.)

getStyle

Gets the style associated with the diagram. (Inherited from Diagram.)

getTableBrush

Gets the default brush assigned to new tables. (Inherited from Diagram.)

getTableCaption

Gets the default caption text assigned to new tables. (Inherited from Diagram.)

getTableCaptionHeight

Gets the default height of the caption area of new tables. (Inherited from Diagram.)

getTableColumnCount

Gets how many columns new tables have by default. (Inherited from Diagram.)

getTableColumnWidth

Gets the default width of the columns of new tables. (Inherited from Diagram.)

getTableConnectionStyle

Gets how users are allowed to link tables to each other - as integral entities, by rows, or both. (Inherited from Diagram.)

getTableHandlesStyle

Gets the default style of table selection handles. (Inherited from Diagram.)

getTableNodeStyle

Gets the theme-level style for table nodes. (Inherited from Diagram.)

getTablePen

Gets the default pen assigned to new tables. (Inherited from Diagram.)

getTableRowCount

Gets how many rows new tables have by default. (Inherited from Diagram.)

getTableRowHeight

Gets the default height of the row of new tables. (Inherited from Diagram.)

getTableShape

Gets the default value of the Shape property of new tables. (Inherited from Diagram.)

getTablesScrollable

Gets a value indicating whether users are allowed to scroll new tables. (Inherited from Diagram.)

getTag

Gets the custom data associated with this diagram. (Inherited from Diagram.)

getTextColor

Gets the default text color that is assigned to new items. (Inherited from Diagram.)

getTextFormat

Gets the default format and alignment of the text of new items. (Inherited from Diagram.)

getTheme

Gets the theme associated with the diagram. (Inherited from Diagram.)

getTitle

Gets the page title.

getTitleColor

Gets the color of the title when the title is displayed.

getToolTip

Gets the tooltip text. (Inherited from Diagram.)

getTreeViewNodeStyle

Gets the theme-level style for tree view nodes. (Inherited from Diagram.)

getTypeTable

Gets the table of registered item types. (Inherited from Diagram.)

getUndoManager

Gets the diagram's UndoManager. (Inherited from Diagram.)

handlePointerMove

Propagates touch input to interested manipulators. (Inherited from Diagram.)

imageToDoc

Transforms points from the image coordinate space to the document coordinate space. (Inherited from Diagram.)

imageToDocX

Converts from image coordinates to document coordinates. (Inherited from Diagram.)

imageToDocY

Converts from image coordinates to document coordinates. (Inherited from Diagram.)

init

Returns a DiagramBuilder object used to configure this Diagram instance. (Inherited from Diagram.)

isItemInteractive

Checks if the specified item can be modified interactively. (Inherited from Diagram.)

isItemLocked

Checks if the specified item is locked. (Inherited from Diagram.)

isItemVisible

Checks if the specified item is currently visible. (Inherited from Diagram.)

items

Iterates over diagram items of the desired type (Inherited from Diagram.)

loadFromString

Loads the diagram contents from a string. (Inherited from Diagram.)

loadFromXml

Overloaded.   (Inherited from Diagram.)

measureString

Measures a text taking into consideration the current affine transform of the diagram. (Inherited from Diagram.)

pasteSelection

Adds the specified items and groups to the specified diagram document. (Inherited from Diagram.)

raiseActionRedone

Raises the actionRedone event. (Inherited from Diagram.)

raiseActionUndone

Raises the actionUndone event. (Inherited from Diagram.)

raiseCellTextEdited

Raises the DiagramListener.cellTextEdited event. (Inherited from Diagram.)

raiseCellTextEditing

Raises the cellTextEditing event to validate entering in-place editing mode. (Inherited from Diagram.)

raiseClicked

Overloaded.   (Inherited from Diagram.)

raiseDeleting

Raises the appropriate *Deleting (linkDeleting or nodeDeleting) event. (Inherited from Diagram.)

raiseDoubleClicked

Overloaded.   (Inherited from Diagram.)

raiseLinkTextEdited

Raises the DiagramListener.linkTextEdited event. (Inherited from Diagram.)

raiseLinkTextEditing

Raises the linkTextEditing event to validate entering in-place editing mode. (Inherited from Diagram.)

raiseNodeTextEdited

Raises the DiagramListener.nodeTextEdited event. (Inherited from Diagram.)

raiseNodeTextEditing

Raises the nodeTextEditing event to validate entering in-place editing mode. (Inherited from Diagram.)

raiseTreeCollapsed

Raises the treeCollapsed event. (Inherited from Diagram.)

raiseTreeExpanded

Raises the treeExpanded event. (Inherited from Diagram.)

raiseTreeItemTextEdited

Raises the DiagramListener.treeItemTextEdited event. (Inherited from Diagram.)

raiseViewRemoved

Raises the DiagramListener.viewRemoved event. (Inherited from Diagram.)

removeDiagramListener

Unregisters listener so that it will no longer receive diagram events. (Inherited from Diagram.)

removePropertyChangeListener

 

repaint

Overloaded.   (Inherited from Diagram.)

resizeToFitItems

Overloaded.   (Inherited from Diagram.)

routeAllLinks

Routes all links in the diagram so that they will not cross any node. (Inherited from Diagram.)

saveTo

Overloaded.   (Inherited from Diagram.)

saveToString

Overloaded.   (Inherited from Diagram.)

saveToXml

Overloaded.   (Inherited from Diagram.)

setActiveItem

Sets the active item. (Inherited from Diagram.)

setActiveLayer

Sets the zero-based index of the active layer. (Inherited from Diagram.)

setAdjustmentHandlesSize

Sets the size of selection handles. (Inherited from Diagram.)

setAlignmentGuidePen

Sets the pen used to draw alignment guides. (Inherited from Diagram.)

setAlignToGrid

Sets a value indicating whether items should be aligned to the alignment grid while users draw them. (Inherited from Diagram.)

setAllowLinksRepeat

Sets a value indicating whether users are allowed to draw more than one links between the same nodes. (Inherited from Diagram.)

setAllowMultipleResize

Sets whether multiple selected nodes can be resized simultaneously. (Inherited from Diagram.)

setAllowSelfLoops

Sets whether users are allowed to draw reflexive links. (Inherited from Diagram.)

setAllowSplitLinks

Sets whether link segments can be added and removed interactively. (Inherited from Diagram.)

setAllowUnanchoredLinks

Sets a value indicating whether users are allowed to attach links to nodes that do not have any anchor points. (Inherited from Diagram.)

setAllowUnconnectedLinks

Sets a value indicating whether users are allowed to draw unconnected links. (Inherited from Diagram.)

setAutoAlignDistance

Sets the maximal horizontal or vertical distance at which a node aligns to the borders of other nodes. (Inherited from Diagram.)

setAutoAlignNodes

Sets whether nodes should automatically align to the borders of other nodes during user interaction. (Inherited from Diagram.)

setAutoCloseDistance

Sets the maximum distance between first and last points of a FreeFormNode for which the node's outline is closed automatically. (Inherited from Diagram.)

setAutoResize

Sets a value specifying whether the document scrollable area should be resized automatically when users draw items near the edges of the diagram. (Inherited from Diagram.)

setAutoSnapDistance

Specifies the maximum distance at which links auto-snap to nodes. (Inherited from Diagram.)

setAutoSnapLinks

Sets the default value for the AutoSnapToNode property of new links. (Inherited from Diagram.)

setBackBrush

Sets the diagram's background brush. (Inherited from Diagram.)

setBackgroundImage

Overloaded.   (Inherited from Diagram.)

setBackgroundImageAlign

Sets how the background image should be positioned relatively to the scrollable area of the diagram. (Inherited from Diagram.)

setBackgroundImageUrl

Sets the URL of the background image. (Inherited from Diagram.)

setBounds

Overloaded.   (Inherited from Diagram.)

setBoundsPen

Sets the pen with which document bounds are drawn. (Inherited from Diagram.)

setCellFrameStyle

Sets the default style of the cell frames of new tables. (Inherited from Diagram.)

setContainerCaption

Sets the default value for the caption of containers. (Inherited from Diagram.)

setContainerCaptionHeight

Sets the default value for the caption height of containers. (Inherited from Diagram.)

setContainerHighlightPen

Sets the default value for the HighlightPen of containers. (Inherited from Diagram.)

setContainerMargin

Sets the default value for the Margin attribute of containers. (Inherited from Diagram.)

setContainerMinimumSize

Sets the default value for the minimum size of containers. (Inherited from Diagram.)

setContainersFoldable

Sets the default value for the Foldable property of containers. (Inherited from Diagram.)

setCrossingRadius

Sets the radius of the shapes drawn at link crossing points. (Inherited from Diagram.)

setDefaultControlType

Sets the type of components that will be hosted by default in newly created ControlNode objects. (Inherited from Diagram.)

setDefaultShape

Sets the default shape that should be assigned to new nodes. The shape of individual nodes can be set by calling their ShapeNode.setShape method. (Inherited from Diagram.)

setDirty

Overloaded. Lets you set or clear the diagram's modification flag. (Inherited from Diagram.)

setDynamicLinks

Sets a value indicating whether links should automatically update their end points positions so that they will always point towards the node centers. (Inherited from Diagram.)

setEnableLanes

Sets whether lanes are enabled. (Inherited from Diagram.)

setEnableStyledText

Sets a value indicating whether newly created nodes should display richly formatted text. (Inherited from Diagram.)

setExpandButtonAction

Sets what should happen when a user clicks the +/- button that is displayed near expandable nodes. (Inherited from Diagram.)

setExpandButtonPosition

Sets where expand/collapse buttons are located relatively to their nodes. (Inherited from Diagram.)

setExpandOnIncoming

Sets which direction of links is considered the tree direction when expanding or collapsing diagram branches. (Inherited from Diagram.)

setFoldedContainerSize

Sets the size of folded containers. (Inherited from Diagram.)

setFont

Sets the default font for new diagram items. (Inherited from Diagram.)

setFreeFormAttractDistance

Sets the radius around dragged free-form adjustment handle in which other points of FreeFormNode are modified too. (Inherited from Diagram.)

setFreeFormTargets

Sets an array of Shape objects used to replace FreeFormNode instances with ShapeNode ones when Behavior is set to LinkFreeShapes or DrawFreeShapes. (Inherited from Diagram.)

setGridColor

Sets the color of the alignment grid. (Inherited from Diagram.)

setGridOffsetX

Sets the horizontal offset of the first point of the alignment grid. (Inherited from Diagram.)

setGridOffsetY

Sets the vertical offset of the first point of the alignment grid. (Inherited from Diagram.)

setGridSizeX

Sets the horizontal distance between grid points. (Inherited from Diagram.)

setGridSizeY

Sets the vertical distance between grid points. (Inherited from Diagram.)

setGridStyle

Sets the appearance style of the alignment grid. (Inherited from Diagram.)

setHitTestPriority

Sets a value indicating the order in which items are hit-tested. (Inherited from Diagram.)

setIcon

Sets an image associated with the page.

setImageDpiX

Sets the default resolution of images.
(Inherited from Diagram.)

setImageDpiY

  (Inherited from Diagram.)

setLinkBaseShape

Sets what shape should be displayed at the origin of new links. (Inherited from Diagram.)

setLinkBaseShapeSize

Sets the default size of the shape displayed at the origin of new links. (Inherited from Diagram.)

setLinkBrush

Sets the default brush that should be assigned to new links. (Inherited from Diagram.)

setLinkCascadeOrientation

Sets the default orientation of the first segments of cascading links. (Inherited from Diagram.)

setLinkCrossings

Sets what shapes should be drawn at the points where links cross. (Inherited from Diagram.)

setLinkCustomDraw

Sets the default type of custom painting done on links. (Inherited from Diagram.)

setLinkEndsMovable

Sets a value indicating users are allowed to move the end points of a link after the link is created. (Inherited from Diagram.)

setLinkHandlesStyle

Sets the style of selection handles that should be assigned to new links. (Inherited from Diagram.)

setLinkHeadShape

Sets what shape should be displayed as arrowhead of new links. (Inherited from Diagram.)

setLinkHeadShapeSize

Sets the default size of the shape displayed as arrowhead of new links. (Inherited from Diagram.)

setLinkIntermediateShape

Sets what shape should be displayed at the middle of links segments. (Inherited from Diagram.)

setLinkIntermediateShapeSize

Sets the default size of the shape displayed at the middle of links segments. (Inherited from Diagram.)

setLinkPen

Sets the default pen that should be assigned to new links. (Inherited from Diagram.)

setLinkRouter

Sets the component used to find paths for auto-routed links when diagram nodes are added or their positions change. (Inherited from Diagram.)

setLinkShape

Sets the style that should be assigned to new links. (Inherited from Diagram.)

setLinksRetainForm

Sets a value indicating whether new links are set to maintain their shapes while the nodes they connect are moved around. (Inherited from Diagram.)

setLinkText

Sets the default text that should be assigned to new links. (Inherited from Diagram.)

setLinkTextStyle

Sets the default placement and orientation of the links labels. (Inherited from Diagram.)

setMeasureUnit

Sets the units for measuring of lengths and sizes. (Inherited from Diagram.)

setMergeThreshold

Sets the maximum distance between adjacent control points of a link at which the respective segments can be merged. (Inherited from Diagram.)

setNodesExpandable

Sets whether the tree branches that start from new nodes should be expandable by default. (Inherited from Diagram.)

setRecursiveExpand

Sets whether tree branches should be expanded recursively. (Inherited from Diagram.)

setRestrictItemsToBounds

Sets a value indicating whether users are allowed to move items outside the currently define document bounds. (Inherited from Diagram.)

setRouteLinks

Sets a value indicating whether newly created links will automatically find their way between nodes. (Inherited from Diagram.)

setSelectAfterCreate

Sets a value indicating whether newly created items should be selected automatically. (Inherited from Diagram.)

setSelectionOnTop

Sets a value indicating whether selected items should be drawn on top of the non-selected ones. (Inherited from Diagram.)

setShadowBrush

Sets the default brush used to paint the shadows cast by diagram items. (Inherited from Diagram.)

setShadowOffset

Sets the distance at which shadows are offset from the items that cast them. (Inherited from Diagram.)

setShadowOffsetX

Sets the default horizontal distance between shadows and the items that cast them. (Inherited from Diagram.)

setShadowOffsetY

Sets the default vertical distance between shadows and the items that cast them. (Inherited from Diagram.)

setShadowsStyle

Sets the style of shadows. (Inherited from Diagram.)

setShapeBrush

Sets the default brush that should be assigned to new nodes. (Inherited from Diagram.)

setShapeCustomDraw

Sets whether new nodes should be custom drawn and what type of custom drawing will be performed on them. (Inherited from Diagram.)

setShapeHandlesStyle

Sets the default value for the HandlesStyle property of new shape nodes. (Inherited from Diagram.)

setShapeOrientation

Sets the default shape definition orientation angle assigned to new nodes. (Inherited from Diagram.)

setShapePen

Sets the default pen that should be assigned to new nodes. (Inherited from Diagram.)

setShapeText

Sets the default text to new nodes. (Inherited from Diagram.)

setShowAnchors

Sets a value indicating whether anchor points should be shown on screen. (Inherited from Diagram.)

setShowDisabledHandles

Sets whether disabled manipulation handles will be displayed. (Inherited from Diagram.)

setShowGrid

Sets a value indicating whether the alignment grid is displayed. (Inherited from Diagram.)

setShowHandlesOnDrag

Sets whether selection handles of objects under the pointer are displayed while another object is being modified. (Inherited from Diagram.)

setSnapToAnchor

Sets a value indicating when links should snap to anchor points. (Inherited from Diagram.)

setStyle

Sets the style associated with the diagram. (Inherited from Diagram.)

setTableBrush

Sets the default brush that is assigned to new tables. (Inherited from Diagram.)

setTableCaption

Sets the default caption text that should be assigned to new tables. (Inherited from Diagram.)

setTableCaptionHeight

Sets the default height of the caption area of new tables. (Inherited from Diagram.)

setTableColumnCount

Sets how many columns should be allocated to new tables. (Inherited from Diagram.)

setTableColumnWidth

Sets the default width of columns in newly created tables. (Inherited from Diagram.)

setTableConnectionStyle

Sets how users are allowed to link tables to each other - as integral entities, by rows, or both. (Inherited from Diagram.)

setTableHandlesStyle

Sets the style of selection handles that should be assigned to new tables. (Inherited from Diagram.)

setTablePen

Sets the default pen that should be assigned to new tables. (Inherited from Diagram.)

setTableRowCount

Sets how many rows should be allocated to new tables. (Inherited from Diagram.)

setTableRowHeight

Sets the default height of rows in newly created tables. (Inherited from Diagram.)

setTableShape

Sets the default value of the Shape property of new tables. (Inherited from Diagram.)

setTablesScrollable

Sets a value indicating whether users are allowed to scroll new tables. (Inherited from Diagram.)

setTag

Associates a custom data with this diagram. (Inherited from Diagram.)

setTextColor

Sets the default text color to be assigned to new items. (Inherited from Diagram.)

setTextFormat

Sets the default format and alignment of the text of new items. (Inherited from Diagram.)

setTheme

Sets the theme associated with the diagram. (Inherited from Diagram.)

setTitle

Sets the page title.

setTitleColor

Gets the color of the title when the title is displayed.

setToolTip

Sets the tooltip text that is displayed when the pointer hovers over an unoccupied area of the diagram. (Inherited from Diagram.)

with

Returns a DiagramBuilder object used to configure and create new Diagram instances. (Inherited from Diagram.)

 Protected Methods

  Name Description

getValue

Gets the effective value of the style property with the specified name. (Inherited from Diagram.)

 See Also

DiagramPage Class
com.mindfusion.diagramming Namespace