Search
FlowChart Methods
 


 Public Methods

  Name Description

AddAeroEffect

Applies an Aero effect to all nodes in this flowchart.

AddGlassEffect

Applies a Glass effect to all nodes in this flowchart.

AddToSelection

Adds a diagram element to multiple selection.

ArrangeDiagram

Arranges the diagram items using the specified layout routine.

ArrangeLinkLabels

Rearranges arrow labels whose AutoArrange property is enabled.

BeginUndoRecord

( a feature of FlowChartX Pro edition)

Creates a composite undo record.

BringIntoView

Scrolls the document area to make the specified object visible.

CancelDrag

Cancels the current drag operation.

CanPasteFromClipboard

( a feature of FlowChartX Pro edition)

Determines whether there's FlowChartX data available in the clipboard.

ChangeBehavior

Sets how the control responds to user actions.

ClearAll

Removes all objects from the diagram.

ClearEffects

Removes all global effects from this flowchart.

ClearSelection

Clears the current selection.

ClearUndoBuffer

( a feature of FlowChartX Pro edition)

Removes all records from the undo/redo queue.

ClientPtToDocPt

Transforms points from the client coordinate space to the document coordinate space.

CopyToClipboard

( a feature of FlowChartX Pro edition)

Copies the current selection to the clipboard.

CreateAnchoredArrow

Creates an arrow and connects it to the specified nodes' anchor points.

CreateArrow

Creates an arrow connecting two boxes.

CreateBitmap

Creates a bitmap image representing the current diagram contents.

CreateBox

Creates a new Box node.

CreateDecorationLine

Creates a new decoration line.

CreateGroup

Creates a new hierarchical Group.

CreateLink

Creates an arrow connecting a box to a table.

CreateObjsFromDragData

Creates diagram elements from OLE drag-and-drop data.

CreateRelation

Creates an arrow connecting two tables.

CreateTable

Creates a new Table node.

CutToClipboard

( a feature of FlowChartX Pro edition)

Cuts the current selection to the Windows clipboards.

DeleteItem

Deletes a diagram item.

DestroyGroup

Destroys an hierarchical group.

DetectCycle

Determines whether there are any cycles containing the specified object.

DocPtToClientPt

Transforms points from the document coordinate space to the client coordinate space.

EndUndoRecord

( a feature of FlowChartX Pro edition)

Completes a composite undo record.

FindAllPaths

Finds all paths between two graph nodes.

FindArrow

Finds an arrow whose Tag matches the specified value.

FindBox

Finds a box whose Tag matches the specified value.

FindCycle

Finds a cycle in the current diagram.

FindGroup

Finds a group whose Tag matches the specified value.

FindLongestPath

Finds the longest path between nodes in the diagram.

FindLongestPathBetween

Finds the longest path between the specified nodes.

FindShortestPath

Finds the shortest path between the specified nodes.

FindTable

Finds a table whose Tag matches the specified value.

FitDocToObjects

Resizes the diagram scrollable area so it fits all diagram items.

GetArrowAt

Gets the arrow placed at a certain location in the diagram.

GetBoxAt

Finds the topmost box containing the specified point.

GetBoxWithInteractorAt

 

GetCFlowChart

 

GetCycle

Gets a cycle found by a previous DetectCycle invocation.

GetDefLibShape

( a feature of FlowChartX Pro edition)

Gets the default shape of new boxes of the bsLibShape Style.

GetDocSize

Gets the size of the diagram scrollable area.

GetPath

Gets a path found by a previous FindAllPaths invocation.

GetShapeCount

( a feature of FlowChartX Pro edition)

Gets the number of shapes defined in a shape library.

GetShapeLibGUID

( a feature of FlowChartX Pro edition)

Returns the GUID of a loaded shape library.

GetShapeLibName

( a feature of FlowChartX Pro edition)

Gets the name of a shape library.

GetTableAt

Finds the topmost table containing the specified point.

HideScrollers

Hides the scrollbars.

IsTree

Determines whether the current graph is a tree.

LoadFromFile

Loads the contents of an existing diagram file into the control.

LoadFromStream

Loads the contents of the diagram from a stream.

LoadFromString

Decodes diagram contents from a string that was created with SaveToString.

LoadFromXml

Loads a flowchart from the specified XML document.

LoadPicFromRes

Loads a background image from a resource.

LoadPicture

Loads a background image from a file.

LoadPredefShape

Loads one of the predefined polygonal shapes as default for new bsPolygon boxes.

LoadShapeLib

( a feature of FlowChartX Pro edition)

Loads a shape library.

MeasureString

Measures the specified string when drawn with the specified font.

MergeUndoRecords

( a feature of FlowChartX Pro edition)

Merges several undo records into one composite record.

NodesIntersect

Determines whether two nodes intersect.

ObjectFromPoint

Finds the topmost node that contains the specified point.

OpenPreviewWindow

Opens a print preview window with the specified position and size.

PasteFromClipboard

( a feature of FlowChartX Pro edition)

Pastes the current clipboard contents into the diagram.

PreviewDiagram

Displays the print preview window.

PrintChart

Prints the diagram (obsolete).

PrintDiagram

Prints the diagram.

PrintOnDev

Prints the diagram using the specified printer (obsolete).

RecordCustomAction

( a feature of FlowChartX Pro edition)

Adds a custom record to the FlowChartX undo/redo queue.

Redo

( a feature of FlowChartX Pro edition)

Redoes an action stored in the undo/redo history.

RedoPossible

( a feature of FlowChartX Pro edition)

Determines whether there is an action in the undo/redo queue that can be redone.

RedrawCacheImage

Repaint back-buffer cache image.

RegExtrScrollers

Registers external scrollbars with FlowChartX.

RegisterDragDrop

Registers the control as a possible target of an OLE drag-and-drop operation.

RemoveFromSelection

Removes an item from multiple selection.

Repaint

Repaints the flowchart.

RevokeDragDrop

Revokes the registration of the control as a potential target for OLE drag-and-drop operations.

RouteAllArrows

Routes all arrows in the diagram.

SaveToBitmap

Exports a bitmap image that represents the current diagram contents.

SaveToFile

Saves the binary contents of a diagram to a disk file.

SaveToMetaFile

Exports a metafile image that represents the current diagram contents.

SaveToStream

Saves the contents of the diagram to a stream.

SaveToString

Encodes the diagram contents into a base64 string.

SaveToXml

Saves the flowchart to the specified file as an XML document.

ScreenPtToDocPt

Gets the diagram coordinates of a screen point.

ScrollTo

Scrolls to diagram to the specified position.

SetDefLibShape

( a feature of FlowChartX Pro edition)

Sets the default library shape to use with new boxes of bsLibShape style.

SetDocSize

Sets the size of the diagram scrollable area.

SetLicenseKey

Sets the license key of the control.

SetMouseCursor

Lets you change the mouse cursor icons that are displayed in various situations.

SetPolyShape

Sets default shape for new boxes of type bsPolygon.

SetPolyShapeArray

Sets default shape for new boxes of type bsPolygon.

SetShadowOffset

Sets the offset of shadows from the objects that cast them.

SetZoomFactor

Sets the zoom factor, preserving the on-screen position of the specified diagram point.

ShowScrollers

Shows the scrollbars.

TreeLayout

Applies a tree layout to the diagram (obsolete).

Undo

( a feature of FlowChartX Pro edition)

Undoes an operation recorded in the undo/redo queue.

UndoPossible

( a feature of FlowChartX Pro edition)

Determines whether there is an operation in the undo/redo queue that can be undone.

UnloadAllShapeLibs

( a feature of FlowChartX Pro edition)

Unloads all shape libraries.

UnloadShapeLib

( a feature of FlowChartX Pro edition)

Unloads a specific shape library.

ZoomIn

Increases the diagram scale factor.

ZoomOut

Decreases the diagram scale factor.

ZoomToFit

Sets the ZoomFactor so that the whole diagram is visible.

ZoomToRect

Zooms and scrolls the diagram so that the specified rectangular area is visible.

 See Also