CADability dotNET

The SingleDocumentFrame type exposes the following members.

Constructors

  NameDescription
Public methodSingleDocumentFrame()()()()
Creates a new and empty SingleDocumentFrame
Public methodSingleDocumentFrame(Boolean)
Creates a new and empty SingleDocumentFrame

Methods

  NameDescription
Public methodAddView
Public methodAssureModelView
Public methodClearSymbols
Obsolete, use SymbolMainProperty instead.
Protected methodFinalize (Overrides Object..::..Finalize()()()().)
Public methodFocusChanged
Public methodGenerateNewProject
Generates a new project, saves the current project if necessary and sets the new project as the current project.
Public methodGetActivePropertyDisplay
Public methodGetBooleanSetting
Public methodGetColorSetting
Public methodGetDoubleSetting
Public methodGetIntSetting
Public methodGetPropertyDisplay
Public methodGetSetting
Public methodGetStringSetting
Public methodOnSnapCenter
Public methodOnSnapDropPoint
Public methodOnSnapGrid
Public methodOnSnapIntersections
Public methodOnSnapObjectPoint
Public methodOnSnapOrtho
Public methodOnSnapSnapPoint
Public methodOnSnapSurface
Public methodOnSnapTangentPoint
Public methodOpenFile
Public methodReadFile
Public methodRemoveActiveAction
Public methodRemoveView
Public methodRestoreToolbarPosition
Restors the positions of the toolbars. This method adds the toolbars to their continers.
Public methodSaveModifiedProject
Call this method before closing the form that contains this SingleDocumenFrame. If the project has been modified, there will be a prompt to save the modified project.
Public methodSaveToolbarPosition
Saves the position of the given MoveableToolBar objects in the ToolBarDockContainer. The information is stored in the GlobalSettings object. Call this method when the application is closing (e.g. when the form is disposing). To restore the information call RestoreToolbarPosition(array<ToolBarDockContainer>[]()[][], array<MoveableToolBar>[]()[][]).
Public methodSetAction
Implements SetAction(Action).
Public methodSetControlCenterFocus
Public methodSetCurrentMenuId
Public methodSetParentForm
Public methodSetProjectProperties
Refreshes the properties in the treeview
Public methodShowPropertyDisplay
Public methodShutDown
Get rid of a secondary process that might keep some objects alive. You might use this to unload all CADability DLLs
Public methodSplitViews(Boolean, array<IView>[]()[][])
Public methodSplitViews(Int32, Boolean)
Select the number of views to be displayed in this frame.

Properties

  NameDescription
Public propertyActiveAction
Implements ActiveAction.
Public propertyActiveView
Public propertyAllDefinedViews
Public propertyAllModelViews
Public propertyAllViews
Returns all currently visible views
Public propertyCommandHandler
Returns the CommandHandler of this frame. All menu and toolbar commands are routed through this command handler. If the tollbars and menus of CADability are used no action has to be taken. If you use your own menues or toolbars call OnCommand(String) and OnUpdateCommand(String, CommandState) for all commands concerning CADability.
Public propertyContextMenuSource
Public propertyControlCenter
Public propertyCurrentMenuId
Public propertyDesignMode
Public propertyDisplayArea
Public propertyGlobalSettings
Gets or set the GlobalSettings object (Settings). The global settings are saved in the file CADability.GlobalSettings.bin. If you set a different settings object you are responsible for saving the content.
Public propertyInfoPopup
Public propertyProject
Gets or sets the project handles in this farme
Public propertySelectedObjects
Implements SelectedObjects.
Public propertyShowHelpControl
Controls the visibility of the HelpControl in the ControlCenter.
Public propertySnapMode
Public propertySolidModellingMode
Public propertySymbolMainProperty
Provides access to the property page of the controlcenter that manages the available symbols.

Events

  NameDescription
Public eventFileNameChangedEvent
Public eventFilterDragDrop
Public eventFilterDragEnter
Public eventFilterDragGetData
Public eventFilterDragLeave
Public eventFilterDragOver
Public eventFilterKeyDown
Public eventProcessCommandEvent
Provide a event handler if you want to be notified on command routed through this frame or to execute command handlers for some routed commands-
Public eventProcessContextMenuEvent
Provide a event handler if you want to be notified on contex menue commands routed through this frame or to execute command handlers for some routed commands-
Public eventProjectClosedEvent
Provide a event handler if you want to be notified when a project is beeing closed
Public eventProjectOpenedEvent
Provide a event handler if you want to be notified when a project is opened.
Public eventSettingChangedEvent
Public eventUpdateCommandEvent
Provide a event handler if you want to control the appearnce of commands in the menu or toolbar (set the enabled and check flags).
Public eventUpdateContextMenuEvent
Provide a event handler if you want to control the appearance of commands in a context the menu (set the enabled and check flags).
Public eventViewsChangedEvent
Provide a event handler if you want to be notified when new views are created or views are closed.

Explicit Interface Implementations

See Also