Name | Description | |
---|---|---|
NDrawingDocument Constructor | Default constructor |
The following tables list the members exposed by NDrawingDocument.
Name | Description | |
---|---|---|
NDrawingDocument Constructor | Default constructor |
Name | Description | |
---|---|---|
ActiveLayerUniqueId | Controls the currently active layer | |
ArrowheadShapeStencil | Gets/sets the Arrowhead Shape Stencil | |
AutoBoundsMinSize | Controls the auto bounds min size | |
AutoBoundsMode | Controls the auto bounds mode | |
AutoBoundsPadding | Controls the auto bounds padding | |
BackgroundStyle | Gets/sets the document background style (Inherited from Nevron.Diagram.NDocument) | |
Bounds | Gets/sets the document bounds (in scene coordinates) | |
BridgeManager | Gets/sets the bridge manager | |
Center | Gets/sets the document bounds center (in scene coordinates) | |
CustomScale | Get/set the ratio between MeasurementUnit and WorldMeasurementUnit, when DrawingScaleMode is set to CustomScale | |
CustomWorldMeasurementUnit | Specifies the measurement unit associated with the world when the DrawingScaleMode is set to CustomScale | |
DrawingScaleMode | Gets/set the drawing scale mode | |
GraphicsSettings | Gets/sets the graphics settings, with which the drawing scene must be rendered | |
Guidelines | Obtains a reference to the collection of guidelines | |
Height | Controls the document height (in scene coordinates) | |
HitTestSettings | Gets/sets the hit test settings of the document | |
Id | Gets/sets the id of the document (Inherited from Nevron.Diagram.NDocument) | |
Info | Gets/sets the document info attribute (Inherited from Nevron.Diagram.NDocument) | |
Layers | Obtains a reference to the collection of layers | |
Location | Gets/sets the document bounds location (in scene coordinates) | |
MeasurementUnit | Specifies the measurement unit associated with the document | |
Name | User defined name of the document (Inherited from Nevron.Diagram.NDocument) | |
PointShapeStencil | Obtains a reference to the point shape stencil | |
Protection | Gets/sets the element protection (Inherited from Nevron.Diagram.NDocument) | |
Resolution | Gets/sets the resolution used for convertion between device dependant and device independant measurement units (in dots per inch) | |
RoutingManager | Gets/sets the routing manager | |
Settings | Gets/sets the document settings | |
ShadowsZOrder | Controls the Z order of the node shadows | |
Style | Gets/sets the style of the document | |
StyleSheets | Obtains a reference to the collection of stylesheets | |
Tag | User defined data associated with the document (Inherited from Nevron.Diagram.NDocument) | |
UniqueId | Gets/sets the unique id of the document (Inherited from Nevron.Diagram.NDocument) | |
Visible | Controls the document visibility | |
Width | Controls the document width (in scene coordinates) |
Name | Description | |
---|---|---|
CanRaiseEvents | (Inherited from System.ComponentModel.Component) | |
Events | (Inherited from System.ComponentModel.Component) |
Name | Description | |
---|---|---|
AccumulateChildren | Accumulates the children contained in this node, which satisfy the filter to the provided node list (Inherited from Nevron.Diagram.NDocument) | |
AccumulateDescendants | Accumulates the descendants contained in this node, which satisfy the filter to the provided node list (Inherited from Nevron.Diagram.NDocument) | |
AddView | Adds the specified view (Inherited from Nevron.Diagram.NDocument) | |
BeginInit | Begins an initialization of the document - pair it with EndInit (Inherited from Nevron.Diagram.NDocument) | |
BeginUpdate | Overridden. Begins an update of the document - pair it with EndUpdate | |
CanPaint | Determines whether the document can be painted in the specified context | |
CanPaintBackground | Determines whether the document can be painted during the Background Paint Pass | |
Children | Obtains the child nodes of this node (Inherited from Nevron.Diagram.NDocument) | |
ChildrenCount | Returns the number of child nodes which satisfy the specified filter (Inherited from Nevron.Diagram.NDocument) | |
CloneWithNewUniqueId | Creates an identical copy of the element, which differs only by the element unique id (Inherited from Nevron.Diagram.NDocument) | |
Commit | Commits the current transaction (Inherited from Nevron.Diagram.NDocument) | |
ComposeAnimationsStyle | Composes the animations style | |
ComposeBridgeStyle | Composes the bridge style | |
ComposeEndArrowheadStyle | Composes the end arrowhead style | |
ComposeFillStyle | Composes the fill style | |
ComposeInteractivityStyle | Composes the interactivity style | |
ComposeShadowStyle | Composes the shadow style | |
ComposeStartArrowheadStyle | Composes the start arrowhead style | |
ComposeStrokeStyle | Composes the stroke style | |
ComposeStyle | Composes a new style, which contains cloning of the composes styles | |
ComposeTextStyle | Composes the text style | |
ConvertMeasurementUnit | Called when the measurement unit of the measurements stored in this node have changed and all measurements must be converted to the new unit | |
CreateFieldNonSerializedObjects | Overridden. | |
CreateNonSerializedObjects | Overridden. | |
CreateObjRef | (Inherited from System.MarshalByRefObject) | |
Descendants | Obtains the descentant nodes of this node (Inherited from Nevron.Diagram.NDocument) | |
DescendantsCount | Returns the number of descendant nodes, which satisfy the specified filter (Inherited from Nevron.Diagram.NDocument) | |
Dispose | Overloaded. Overridden. Overriden to dispose internal measurement bitmap and graphics | |
EndInit | Ends an initialization of the document - pair it with BeginInit (Inherited from Nevron.Diagram.NDocument) | |
EndUpdate | Overridden. Ends an update of the document - pair it with BeginUpdate | |
GetActiveContainers | Obtains the a list of the drawing document containers which are active (editable) | |
GetAttributeByName | Gets a child or descendant attribute by its name (Inherited from Nevron.Diagram.NDocument) | |
GetAttributeName | Overridden. Gets the name of the specified child attribute | |
GetChildAt | Gets the child node at the specified index (Inherited from Nevron.Diagram.NDocument) | |
GetChildByName | Overloaded. Gets the first child element with the specified name (Inherited from Nevron.Diagram.NDocument) | |
GetChildFromId | Obtains a child element by its id (Inherited from Nevron.Diagram.NDocument) | |
GetChildFromUniqueId | Obtains a child element by its unique id (Inherited from Nevron.Diagram.NDocument) | |
GetDescendantFromId | Obtains a element node by its id (Inherited from Nevron.Diagram.NDocument) | |
GetDescendantFromUniqueId | Obtains a child element by its unique id (Inherited from Nevron.Diagram.NDocument) | |
GetElementFromId | Obtains an element from its id (Inherited from Nevron.Diagram.NDocument) | |
GetElementFromUniqueId | Obtains an element from its unique id (Inherited from Nevron.Diagram.NDocument) | |
GetEnumerator | Overloaded. Obtains a child node enumerator (Inherited from Nevron.Diagram.NDocument) | |
GetFilterForReferenceProperty | Provides a filter for the specified id property | |
GetLifetimeService | (Inherited from System.MarshalByRefObject) | |
GetReferenceProvider | (Inherited from Nevron.Diagram.NDocument) | |
GetRootForReferenceProperty | Obtains the root, from which to search for the referenced node | |
GetServiceOfType | Gets a reference to a service of the specified type (Inherited from Nevron.Diagram.NDocument) | |
GetShapeConstrainBounds | Obtains the constrain bounds for the specified shape | |
HitTest | Overloaded. Hit tests by point all node descendants, which satisfy the specified filter | |
IndexOfChild | Gets the index of the specified node in the container (Inherited from Nevron.Diagram.NDocument) | |
InflateToContent | Overloaded. Inflates the document bounds to fit the document content | |
InitializeLifetimeService | (Inherited from System.MarshalByRefObject) | |
Invalidate | Invalidates the entire document (Inherited from Nevron.Diagram.NDocument) | |
IsChild | Determines whether the specified node is a child node for this container (Inherited from Nevron.Diagram.NDocument) | |
IsDescendant | Queries whether the specified node is a descendant of this node (Inherited from Nevron.Diagram.NDocument) | |
IsInputChar | Determines whether the specified character is an input charecter | |
IsInputKey | Determines whether the specified key is an input key | |
IsShapeConstrained | Determines whether the document constrains the bounds of the specified shape | |
LastHit | Returns the last hit descendant by point, which statisfies the specified filter | |
MeasureStringInScene | Measures the specified string in scene units | |
MeasureStringInWorld | Measures the specified string in world units | |
OnAttributeChanged | Overridden. Called by child or descendants attributes when an attribute has changed | |
OnAttributePropertyChanged | Overridden. Called by child or descendants attributes when an attribute property has changed | |
OnAttributePropertyChanging | Overridden. Called by child or descendants attributes when an attribute property is changing | |
OnClick | Called when the user clicked on the node | |
OnCustomDeserialized | (Inherited from Nevron.Diagram.NDocument) | |
OnDeserialized | Called when the document has been deserialized (Inherited from Nevron.Diagram.NDocument) | |
OnDoubleClick | Called when the user double clicked on the node | |
OnDragDrop | Called when a dragged object is dropped in the document | |
OnDragEnter | Called when a dragged object entered the document | |
OnDragLeave | Called when a dragged object leaves the document | |
OnDragOver | Called when a dragged object is moved over the document | |
OnHistoryAction | Called to perform a history action (Inherited from Nevron.Diagram.NDocument) | |
OnKeyDown | Handles the key down event | |
OnKeyPress | Handles the key press event | |
OnKeyUp | Handles the key up event | |
OnLayerIndexChanged | Called when the index of a layer inside its container has changed | |
OnLayerInserted | Called when a layer has been inserted | |
OnLayerRemoved | Called when a layer has been removed | |
OnMouseDown | Called when a mouse button is down in the document | |
OnMouseEnter | Called when the mouse entered the document | |
OnMouseHover | Called when the mouse hovers in the document | |
OnMouseLeave | Called when the mouse leaves the document | |
OnMouseMove | Called when the mouse moves in the document | |
OnMouseUp | Called when a mouse button is up in the document | |
OnMouseWheel | Called when a mouse wheel was moved in the document | |
OnSerializing | Called when the document is about to be serialized (Inherited from Nevron.Diagram.NDocument) | |
OnShapeBoundsChanged | Called when the bounds of the specified shape has changed | |
OnShapeIndexChanged | Called when the index of a shape inside its container has changed | |
OnShapeInserted | Called when a shape has been inserted | |
OnShapeRemoved | Called when a shape has been removed | |
OnStateChangedFromHistory | Overridden. Called when the history has modified the object state | |
OnStateChangingFromHistory | Called when the history is about to modify the object state (Inherited from Nevron.Diagram.NDocument) | |
Paint | Paints the document content in the specified context | |
PaintBackground | Paints the document in the specified context during the Background Paint Pass | |
RefreshAllViews | Performs a total refresh of all views displaying this document (Inherited from Nevron.Diagram.NDocument) | |
RegisterElement | Registers the specified element in the document (Inherited from Nevron.Diagram.NDocument) | |
RemoveView | Removes the specified view (Inherited from Nevron.Diagram.NDocument) | |
ReplaceForeignUniqueIds | Replaces any foreign Ids (references to other nodes) (Inherited from Nevron.Diagram.NDocument) | |
Reset | Overridden. Resets the drawing document to its default settings | |
Rollback | Rolls back the current transaction (Inherited from Nevron.Diagram.NDocument) | |
SetAttributeByName | Sets a child or descendant attribute by its name (Inherited from Nevron.Diagram.NDocument) | |
SetChildIndex | Sets a new index of the specified child node (Inherited from Nevron.Diagram.NDocument) | |
SizeToContent | Overloaded. Sizes the document to exactly fit the document content | |
SmartRefreshAllViews | Performs a smart refresh of all views displaying this document (Inherited from Nevron.Diagram.NDocument) | |
StartTransaction | Starts a new transaction (Inherited from Nevron.Diagram.NDocument) | |
ToString | Overriden to return the document name (Inherited from Nevron.Diagram.NDocument) | |
UnregisterElement | Overridden. Unregisters the specified element from the document | |
UpdateAllViews | Updates all views displaying this document (Inherited from Nevron.Diagram.NDocument) | |
UpdateFieldReferences | Overridden. | |
UpdateReferences | Overridden. Binds the object to its parent object |
Name | Description | |
---|---|---|
ComputeNewBounds | Called by the auto bounds implementation in order to compute new bounds | |
CreateDataObjectAdaptors | Overridden. Called to create the data object adapters aplicable for this document and add them in the document data object adapters collection | |
CreateServices | Called to create the services and add them in the service manager (Inherited from Nevron.Diagram.NDocument) | |
DoVerb | Overridden. Executes the specified verb | |
EndProperty | Resumes the history service. Pair it with the StartProperty method. (Inherited from Nevron.Diagram.NDocument) | |
Finalize | (Inherited from System.ComponentModel.Component) | |
GetService | (Inherited from System.ComponentModel.Component) | |
MemberwiseClone | Overloaded. (Inherited from System.MarshalByRefObject) | |
OnBoundsChanged | Called when the bounds of the document have changed | |
OnBoundsChanging | Called when the bounds of the document are about to change | |
OnMeasurementUnitChanged | Called when the measurement unit has changed | |
OnPropertyChanged | Fire a property changed event (Inherited from Nevron.Diagram.NDocument) | |
OnPropertyChanging | Fires a property changing event (Inherited from Nevron.Diagram.NDocument) | |
OnResolutionChanged | Called when the document resulution has changed | |
OnViewAdded | Called when the specified view has been added (Inherited from Nevron.Diagram.NDocument) | |
OnViewRemoved | Called when the specified view has been removed (Inherited from Nevron.Diagram.NDocument) | |
OnViewsChanged | Called when the views displaying this document have changed (Inherited from Nevron.Diagram.NDocument) | |
PauseEventSinkService | Safely pauses the event sink service to which this node is connected (Inherited from Nevron.Diagram.NDocument) | |
PauseHistoryService | Safely pauses the history service (Inherited from Nevron.Diagram.NDocument) | |
RecordAction | Records an action (Inherited from Nevron.Diagram.NDocument) | |
RecordOperation | Safely records a custom operation in the history service to which the document is connected (Inherited from Nevron.Diagram.NDocument) | |
RecordProperty | Records the state of the specified property before it is changed (Inherited from Nevron.Diagram.NDocument) | |
RecordState | Overloaded. Records the entire state of the node (Inherited from Nevron.Diagram.NDocument) | |
ResetDocument | Called to reset the fields declared in NDocument (Inherited from Nevron.Diagram.NDocument) | |
ResetDrawingDocument | Called from the overriden Reset method to reset only the fields declared in NDrawingDocument | |
ResumeEventSinkService | Safely resumes the event sink service to which this node is connected (Inherited from Nevron.Diagram.NDocument) | |
ResumeHistoryService | Safely resumes the history service (Inherited from Nevron.Diagram.NDocument) | |
StartProperty | Records the state of the specified property before it is changed and pauses the history service. Pair it with the EndProperty method. (Inherited from Nevron.Diagram.NDocument) | |
UpdateBounds | Updates the drawing bounds in accordance with the auto bounds settings |
Name | Description | |
---|---|---|
AttributeChanged | Attribute changed event (Inherited from Nevron.Diagram.NDocument) | |
AttributePropertyChanged | Attribute property changed event (Inherited from Nevron.Diagram.NDocument) | |
AttributePropertyChanging | Attribute property changing event (Inherited from Nevron.Diagram.NDocument) | |
BoundsChanged | Bounds changed event | |
BoundsChanging | Bounds changing event | |
Click | Click event | |
DoubleClick | Double click event | |
DragDrop | Drag drop event | |
DragEnter | Drag enter event | |
DragLeave | Drag leave event | |
DragOver | Drag over event | |
KeyDown | Key down event | |
KeyPress | Key press event | |
KeyUp | Key up event | |
Modified | Modified event (Inherited from Nevron.Diagram.NDocument) | |
MouseDown | Mouse button down event | |
MouseEnter | Mouse enter event | |
MouseHover | Mouse hover event | |
MouseLeave | Mouse leave event | |
MouseMove | Mouse move event | |
MouseUp | Mouse button up event | |
MouseWheel | Mouse wheel event | |
PropertyChanged | Property changed event (Inherited from Nevron.Diagram.NDocument) | |
PropertyChanging | Property changing event (Inherited from Nevron.Diagram.NDocument) | |
ViewsChanged | Fired when the views displaying the document have changed (Inherited from Nevron.Diagram.NDocument) |