GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoDocument Class
Fields Properties Methods Events


In This Topic
    GoDocument Class Members
    In This Topic

    The following tables list the members exposed by GoDocument.

    Public Constructors
     NameDescription
    Public Constructor Create a document containing one empty layer.  
    Top
    Public Fields
     NameDescription
    Public FieldThis is a RaiseChanged hint, called by AbortTransaction just after a call to GoUndoManager.GoUndoManager.AbortTransaction.  
    Public FieldThis is a RaiseChanged hint.  
    Public FieldThis is a RaiseChanged hint to tell all of the GoViews on this document to call GoView.BeginUpdate.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the AllowCopy property.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the AllowDelete property.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the AllowEdit property.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the AllowInsert property.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the AllowLink property.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the AllowMove property.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the AllowReshape property.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the AllowResize property.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the AllowSelect property.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the DataFormat property.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the FixedSize property.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the Initializing property.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the LastPartID property.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the LinksLayer property.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the MaintainsPartID property.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the Name property.  
    Public FieldThis RaiseChanged hint is a synonym for GoLayer.GoLayer.ChangedObject.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the PaperColor property.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the RoutingTime property.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the Size property.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the TopLeft property.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the UserFlags property.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the UserObject property.  
    Public FieldThis is a RaiseChanged hint identifying changes to the value of the ValidCycle property.  
    Public FieldThis is a RaiseChanged hint to tell all of the GoViews on this document to call GoView.EndUpdate.  
    Public FieldThis is a RaiseChanged hint, called by Redo just after a call to GoUndoManager.GoUndoManager.Redo.  
    Public FieldThis is a RaiseChanged hint called by FinishTransaction just after a call to GoUndoManager.GoUndoManager.FinishTransaction.  
    Public FieldThis is a RaiseChanged hint, called by Undo just after a call to GoUndoManager.GoUndoManager.Undo.  
    Public FieldThis is the last system-defined RaiseChanged hint.  
    Public FieldThis is a RaiseChanged hint to tell all of the GoViews on this document to call GoView.UpdateView.  
    Public FieldThis is a RaiseChanged hint, called by StartTransaction just after a call to GoUndoManager.GoUndoManager.StartTransaction.  
    Public FieldThis is a RaiseChanged hint, called by Redo just before a call to GoUndoManager.GoUndoManager.Redo.  
    Public FieldThis is a RaiseChanged hint, called by Undo just before a call to GoUndoManager.GoUndoManager.Undo.  
    Public FieldThis is a RaiseChanged hint to tell all of the GoViews on this document to call Control.Update.  
    Top
    Protected Fields
     NameDescription
    Protected Fieldstatic (Shared in Visual Basic)This is an empty RectangleF, which is convenient when calling RaiseChanged.  
    Top
    Public Properties
     NameDescription
    Public Property Gets or sets whether the user can copy selected objects in this document.  
    Public Property Gets or sets whether the user can delete selected objects in this document.  
    Public Property Gets or sets whether the user can edit objects in this document.  
    Public Property Gets or sets whether the user can insert objects in this document.  
    Public Property Gets or sets whether the user can link objects in this document.  
    Public Property Gets or sets whether the user can move selected objects in this document.  
    Public Property Gets or sets whether the user can reshape resizable objects in this document.  
    Public Property Gets or sets whether the user can resize selected objects in this document.  
    Public Property Gets or sets whether the user can select objects in this document.  
    Public Property Gets an enumerable whose enumerator will iterate over the GoObjects in reverse order.  
    Public PropertyThis property is just a combination of TopLeft and Size as a RectangleF.  
    Public Property Gets the total number of objects in all document layers.  
    Public Property Gets or sets this document's data format name for the clipboard.  
    Public Property Gets or sets the layer that is considered the default layer for document operations that do not specify a layer.  
    Public PropertyA collection of GoObjects that implement the IGoRoutable interface and whose CalculateRoute needs to be called.  
    Public PropertyGets or sets whether UpdateDocumentBounds should update the Size and TopLeft properties as objects are added or moved.  
    Public Property Gets or sets whether this document is in the process of being initialized.  
    Public Property This predicate is true when there are no objects in this collection.  
    Public Property Gets or sets whether this document is considered changed from an earlier state.  
    Public PropertyThis collection is never read-only programmatically, but might not be modifiable by the user: SetModifiable.  
    Public PropertyGets or sets the last PartID value that this document assigned to an IGoIdentifiablePart when MaintainsPartID is true.  
    Public Property Gets the collection of layers belonging to this document.  
    Public Property Gets or sets the layer that is normally used for holding links.  
    Public PropertyGets or sets whether the document should make sure each IGoIdentifiablePart has a unique IGoIdentifiablePart.PartID.  
    Public Property Gets or sets a name for this document.  
    Public Property Gets or sets the color for this document's background.  
    Public PropertyGets or sets when IGoRoutable objects should have their routes recalculated.  
    Public PropertyGets or sets whether the UndoManager is serialized when the document is.  
    Public Property Gets or sets the size of this document.  
    Public PropertyGets or sets whether the UndoManager is notified upon a document or document object change.  
    Public PropertyGets or sets whether IGoRoutable GoObjects should have their IGoRoutable.CalculateRoute method called immediately, or later when this property is set back to false.  
    Public Property Gets or sets whether any Changed event handlers are called upon a document or document object change.  
    Public Property Gets or sets the top-left corner position of this document.  
    Public Property Gets or sets the UndoManager for this document.  
    Public Property Gets or sets an integer value associated with this document.  
    Public Property Gets or sets an object associated with this document.  
    Public Property Gets or sets whether a valid link can be made between two ports that may produce a directed or undirected cycle in this document.  
    Top
    Public Methods
     NameDescription
    Public MethodCall the UndoManager's GoUndoManager.AbortTransaction method.  
    Public MethodAdd an object to the DefaultLayer, or to the LinksLayer if the object is an IGoLink.  
    Public Method Add a copy of an object into this document at the given point.  
    Public Method Cause all views to stop painting.  
    Public Method Called to see if the user can copy selected objects in this document.  
    Public Method Called to see if the user can delete selected objects in this document.  
    Public Method Called to see if the user can edit objects in this document.  
    Public Method Called to see if the user can insert objects in this document.  
    Public Method Called to see if the user can link objects in this document.  
    Public Method Called to see if the user can move selected objects in this document.  
    Public Method This predicate is true if this document has an UndoManager whose CanRedo predicate is true.  
    Public Method Called to see if the user can reshape resizable objects in this document.  
    Public Method Called to see if the user can resize selected objects in this document.  
    Public Method Called to see if the user can select objects in this document.  
    Public Method This predicate is true if this document has an UndoManager whose CanUndo predicate is true.  
    Public MethodThis method is called by GoChangedEventArgs in order to perform the Undo or Redo or a particular document change.  
    Public Method Remove all objects from all layers in this document.  
    Public Methodstatic (Shared in Visual Basic)Overloaded.   
    Public Method Determine if an object belongs to this document.  
    Public Method Make a copy of this document.  
    Public Method Gets a newly allocated array of all of the GoObjects in this collection.  
    Public MethodOverloaded.   
    Public MethodThis is called during the construction of a GoChangedEventArgs in order to record the newer/next value for a document change.  
    Public MethodThis is called during the construction of a GoChangedEventArgs in order to record the older/previous value for a document change.  
    Public MethodCopy references to all of the document objects into the given array of GoObjects.  
    Public MethodAllocate a GoCopyDictionary for use in a call to CopyFromCollection(IGoCollection,Boolean,Boolean,SizeF,GoCopyDictionary)  
    Public MethodCall IGoRoutable.CalculateRoute on each of the objects in the DelayedRoutings collection, and clear that collection.  
    Public Method Cause all views to continue painting normally.  
    Public MethodMake sure every IGoIdentifiablePart in this document has a unique IGoIdentifiablePart.PartID.  
    Public MethodOverloaded.   
    Public MethodReturns an IGoIdentifiablePart in this document with the given ID.  
    Public MethodCall the UndoManager's GoUndoManager.FinishTransaction method.  
    Public MethodReturn the effective bounds of an object that should be avoided when routing links whose GoLink.AvoidsNodes property is true.  
    Public Method Get an Enumerator that iterates over all layers to include all document objects.  
    Public Method Cause all views to completely repaint sometime in the future.  
    Public MethodThis predicate determines whether the given object is considered when trying to route links whose GoLink.AvoidsNodes property is true.  
    Public Method Returns true if there are any "avoidable" objects within or intersecting the given rectangular region.  
    Public Methodstatic (Shared in Visual Basic)This method returns true if adding a link from a to b would result in a cycle of directed links going through the node a.  
    Public Methodstatic (Shared in Visual Basic)This method returns true if adding a link from a to b would result in a cycle of directed links going through the node a.  
    Public Methodstatic (Shared in Visual Basic)This method returns true if adding a link from a to b would result in a cycle or loop of links, regardless of link direction, going through the node a.  
    Public Method Make sure this document has all of the identified layers of another document.  
    Public Method Find the top-most (front-most) document object at a given point.  
    Public Method Return a collection of objects that can be picked at a particular point.  
    Public Method Return a collection of objects that are surrounded by a given rectangle.  
    Public MethodAny change to a document or to a part of a document may call this method to invoke the OnChanged method, after the change has occurred.  
    Public MethodCall this method to invoke the OnChanged method before any change occurs.  
    Public MethodCall the UndoManager's GoUndoManager.Redo method if CanRedo is true.  
    Public Method Remove an object from this document.  
    Public Method This method sets some properties that determine whether the user can modify the document from any view.  
    Public MethodCall the UndoManager's GoUndoManager.StartTransaction method.  
    Public MethodTest serializing and deserializing this document, to help discover unserializable objects by getting SerializationExceptions when debugging serialization errors such as during a copy-and-paste.  
    Public MethodCall the UndoManager's GoUndoManager.Undo method if CanUndo is true.  
    Public Method Called when a document object's bounds changes to possibly update the document's bounds.  
    Public MethodIf SuspendsRouting is true add the given IGoRoutable GoObject to the DelayedRoutings collection; otherwise just call CalculateRoute immediately.  
    Public Method Cause all views to repaint their invalidated areas.  
    Top
    Protected Methods
     NameDescription
    Protected Method Called when any part of this document has changed, to invoke all Changed event handlers.  
    Top
    Public Events
     NameDescription
    Public Event The Changed event is raised whenever a document or a part of a document is modified.  
    Top
    See Also