Click or drag to resize

IGraphController Methods

The IGraphController type exposes the following members.

Methods
 NameDescription
Public methodApply Called when the user input has to be applied to the document being controlled. Returns true if Apply is successfull.
(Inherited from IApplyController)
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodEnsureValidityOfCurrentLayerNumber check the validity of the CurrentLayerNumber and correct it
Public methodEnsureValidityOfCurrentPlotNumber This ensures that the current plot number is valid. If there is no plot on the currently active layer, the current plot number is set to -1.
Public methodInitializeDocument Initialize the controller with the document. If successfull, the function has to return true.
(Inherited from IMVCANController)
Public methodRevert Try to revert changes to the model, i.e. restores the original state of the model.
(Inherited from IApplyController)
Top
See Also