Click or drag to resize

GraphController Properties

The GraphController type exposes the following members.

Properties
 NameDescription
Public propertyActiveLayer Returns the currently active layer. There is always an active layer.
Public propertyAutoZoomFactorGets the current zoom factor that would be used for auto zoom, but does not set it. Does not change any member variables.
Public propertyCloseCommand
(Inherited from AbstractViewContent)
Public propertyCloseWithSolution
(Inherited from AbstractViewContent)
Public propertyContentId Gets or sets the content identifier. Here, the content identifier is calculated of the reference hash of the document. Setting is not implemented here.
(Inherited from AbstractViewContent)
Public propertyCurrentGraphTool 
Public propertyCurrentLayerNumber Get / sets the currently active layer by number.
Public propertyCurrentPlotNumber Get / sets the currently active plot by number.
Public propertyDoc 
Public propertyFactorForGraphToMouseCoordinateConversion Factor for conversion of graph units (in points = 1/72 inch) to mouse coordinates. The resolution used for this is _screenResolutionDpi.
Public propertyIconSource
(Inherited from AbstractViewContent)
Public propertyInfoTip
(Inherited from AbstractViewContent)
Public propertyInitiallyFocusedControl
(Inherited from AbstractViewContent)
Public propertyIsActive Gets or sets a value indicating whether the view of this instance is active in the UI.
(Inherited from AbstractViewContent)
Public propertyIsAutoZoomActive Enables / disable the autozoom feature.
Public propertyIsContentVisible Gets a value indicating whether the content of this document window is visible (it is if either IsActive or IsSelected is visible.
(Inherited from AbstractViewContent)
Public propertyIsDirty
(Inherited from AbstractViewContent)
Public propertyIsDisposed
(Inherited from AbstractViewContent)
Public propertyIsDisposeInProgress
(Inherited from AbstractViewContent)
Public propertyIsOverlayPaintingRequired 
Public propertyIsReadOnly Gets if the view content is read-only (can be saved only when choosing another file name).
(Inherited from AbstractViewContent)
Public propertyIsSelected Gets or sets a value indicating whether the view of this instance is selected (e.g. inside its container).
(Inherited from AbstractViewContent)
Public propertyIsViewOnly Gets if the view content is view-only (cannot be saved at all).
(Inherited from AbstractViewContent)
Public propertyIsVisible Gets or sets the visibility of the document. If false, the document tab header is not visible (but the document itself maybe visible !). If true, the document tab header is visible (if it fits in the bar), and the document is visible, if it is selected, too.
(Inherited from AbstractViewContent)
Public propertyMarginGets or sets the margin. A value of 0 indicates that if autozoom is active, there is no margin around the graph. A value of 1 means that there is a right and left margin of 100 percent of the graph width, and a top and bottom margin of 100 percent of the graph heigth.
Public propertyModelObject
(Overrides AbstractViewContentModelObject)
Public propertyNonPageAreaColor Gets the color of the non page area, i.e. the area that not belongs to the graph.
Public propertyNumberOfSelectedObjects Returns the number of selected objects into this graph.
Public propertyPositionOfViewportsUpperLeftCornerInGraphCoordinatesGets or sets the position of the view port window's upper left corner in graph coordinates.
Public propertyRootLayer Returns the layer collection. Is the same as m_GraphDocument.XYPlotLayer.
Public propertySelectedObjects 
Public propertySelectedRealObjects Gets the objects currently selected. The returned objects are not the HitTestObjects, but the hitted objects itself.
Public propertyServices
(Inherited from AbstractViewContent)
Public propertySizeOfGraphWithMarginGets the size (in points = 1/72 inch) of the graph with margin (without zoom).
Public propertySizeOfGraphWithMarginZoomedGets the size (in points = 1/72 inch) of the graph with margin with taking into account the current zoom factor. This can be much greater than the actual viewport size, if the zoom factor exceeds the auto zoom factor.
Public propertyTitle Gets/Sets the title of the current tab page. This value will be passed through the string parser before being displayed.
(Inherited from AbstractViewContent)
Public propertyUseDocumentCopy 
Public propertyViewObject
(Overrides AbstractViewContentViewObject)
Public propertyZoomFactor Zoom value of the graph view. If this property is set, AutoZoom will be set to false.
Top
See Also