Click or drag to resize

Application Class

Represents an application of RootPro CAD.
Inheritance Hierarchy
SystemObject
  RootPro.RootProCADApplication

Namespace:  RootPro.RootProCAD
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 9.0.0.0 (9.0.0.0)
Syntax
public abstract class Application

The Application type exposes the following members.

Constructors
  NameDescription
Protected methodApplication
Initializes a new instance of the Application class
Top
Properties
  NameDescription
Public propertyActiveDocument
Get the active drawing.
Public propertyActiveTabView
Get the active tab view.
Public propertyActiveWindow
Get the active window.
Public propertyCommandManager
Get the object that manages the command.
Public propertyDockingBars
Get a collection of docking windows.
Public propertyDocuments
Get the collection of documents.
Public propertyDrawComponentBar
Get the drawing component window.
Public propertyDrawingBar
Get the drawing tree window.
Public propertyDxfLoadConverterSettings
Get the DXF/DWG import setting.
Public propertyDxfSaveConverterSettings
Get the DXF/DWG export setting.
Public propertyGeometry
Get the object that manages the geometry calculation.
Public propertyJwLoadConverterSettings
Get the Jw import settings.
Public propertyJwSaveConverterSettings
Get the Jw export settings.
Public propertyLayerBar
Get the layer tree window.
Public propertyNumericTextConverter
Get the object to convert numeric value and character string.
Public propertyPdfSaveConverterSettings
Get the PDF export settings.
Public propertyProductVersion
Get version number of RootPro CAD.
Public propertySettings
Get the option setting.
Public propertyShapeChamfer
Get the object that executes the chamfering of the shape.
Public propertyShapeFactory
Get an instance of the ShapeFactory class that generates geometry.
Public propertyShapeFillet
Get the object that executes filleting of the shape.
Public propertyShowDxfConverterSettingsDialog
Get or set whether to display the setting dialog box when executing DXF/DWG conversion.
Public propertyShowJwConverterSettingsDialog
Get or set whether to display the setting dialog box when executing Jw conversion.
Public propertyShowPdfConverterSettingsDialog
Get or set whether to display the setting dialog box when executing PDF conversion.
Public propertyShowSxfConverterSettingsDialog
Get or set whether to display the setting dialog box when executing SXF conversion.
Public propertyStatusBar
Get the status bar.
Public propertySxfLoadConverterSettings
Get the SXF import settings.
Public propertySxfSaveConverterSettings
Get the SXF export setting.
Public propertyToolBars
Get the collection of toolbars.
Public propertyWindowHandle
Get the window handle of RootPro CAD.
Public propertyWindows
Get the collection of windows.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnApplicationQuit
Raise the ApplicationQuit event.
Protected methodOnColorItemChanged
Raise the ColorItemChanged event.
Protected methodOnColorsChanged
Raise the ColorsChanged event.
Protected methodOnCurrentDrawingChanged
Raise the CurrentDrawingChanged event.
Protected methodOnCurrentLayerChanged
Raise the CurrentLayerChanged event.
Protected methodOnCurrentShapeSettingsStyleChanged
Raises the CurrentShapeSettingsStyleChanged event.
Protected methodOnDocumentActivated
Raise the DocumentActivated event.
Protected methodOnDocumentAfterSave
Raise the DocumentAfterSave event.
Protected methodOnDocumentBeforeSave
Raise the DocumentBeforeSave event.
Protected methodOnDocumentBeginPrint
Raise the DocumentBeginPrint event.
Protected methodOnDocumentClosed
Raise the DocumentClosed event.
Protected methodOnDocumentEndPrint
Raise the DocumentEndPrint event.
Protected methodOnDocumentOpened
Raise the DocumentOpened event.
Protected methodOnDrawingAdded
Raise the DrawingAdded event.
Protected methodOnDrawingChanged
Raise the DrawingChanged event.
Protected methodOnDrawingDeleting
Raise the DrawingDeleting event.
Protected methodOnLayerAdded
Raise the LayerAdded event.
Protected methodOnLayerChanged
Raise the LayerChanged event.
Protected methodOnLayerDeleting
Raise the LayerDeleting event.
Protected methodOnLayoutAdded
Raise the LayoutAdded event.
Protected methodOnLayoutChanged
Raise the LayoutChanged event.
Protected methodOnLayoutDeleting
Raise the LayoutDeleting event.
Protected methodOnLinetypeItemAdded
Raise the LinetypeItemAdded event.
Protected methodOnLinetypeItemChanged
Raise the LinetypeItemChanged event.
Protected methodOnLinetypeItemDeleting
Raise the LinetypeItemDeleting event.
Protected methodOnLinetypesChanged
Raise the LinetypesChanged event.
Protected methodOnLinewidthItemChanged
Raise the LinewidthItemChanged event.
Protected methodOnLinewidthsChanged
Raise the LinewidthsChanged event.
Protected methodOnMasterDrawComponentAdded
Raise the MasterDrawComponentAdded event.
Protected methodOnMasterDrawComponentDeleting
Raise the MasterDrawComponentDeleting event.
Protected methodOnNewDocument
Raise the NewDocument event.
Protected methodOnSelectionChanged
Raise the SelectionChanged event.
Protected methodOnShapeAdded
Raise the ShapeAdded event.
Protected methodOnShapeChanged
Raise the ShapeChanged event.
Protected methodOnShapeDelete
Raise the ShapeDelete event.
Protected methodOnShapePrinting
Raise the ShapePrinting event.
Protected methodOnShapeSettingsChanged
Raises the ShapeSettingsChanged event.
Protected methodOnShapeSettingsStyleAdded
Raises the ShapeSettingsStyleAdded event.
Protected methodOnShapeSettingsStyleChanged
Raise the ShapeSettingsStyleChanged event.
Protected methodOnShapeSettingsStyleDeleting
Raise the ShapeSettingsStyleDeleting event.
Protected methodOnTabViewActivated
Raise the TabViewActivated event.
Protected methodOnWindowActivated
Raise the WindowActivated event.
Public methodQuit
Finish RootPro CAD.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventApplicationQuit
Occurs when exiting the application.
Public eventColorItemChanged
Occurs when one color is changed.
Public eventColorsChanged
Occurs when the color table is changed.
Public eventCurrentDrawingChanged
Occurs when the current drawing is changed.
Public eventCurrentLayerChanged
Occurs when the current layer is changed.
Public eventCurrentShapeSettingsStyleChanged
Occurs when the current graphic setting style is changed.
Public eventDocumentActivated
Occurs when the active document is changed.
Public eventDocumentAfterSave
Occurs when the document is saved.
Public eventDocumentBeforeSave
Occurs before the document is saved.
Public eventDocumentBeginPrint
Occurs before the document is printed.
Public eventDocumentClosed
Occurs when the document is closed.
Public eventDocumentEndPrint
Occurs after the document is printed.
Public eventDocumentOpened
Occurs when the document is opened.
Public eventDrawingAdded
Occurs when paper or part drawing is added.
Public eventDrawingChanged
Occurs when paper or part drawing has been changed.
Public eventDrawingDeleting
Occurs when paper or part drawing is deleted.
Public eventLayerAdded
Occurs when a layer is added.
Public eventLayerChanged
Occurs when the layer is changed.
Public eventLayerDeleting
Occurs when a layer is deleted.
Public eventLayoutAdded
Occurs when a layout is added.
Public eventLayoutChanged
Occurs when the layout is changed.
Public eventLayoutDeleting
Occurs when the layout is deleted.
Public eventLinetypeItemAdded
Occurs when line type is added.
Public eventLinetypeItemChanged
Occurs when one line type is changed.
Public eventLinetypeItemDeleting
Occurs when one line type is deleted.
Public eventLinetypesChanged
Occurs when the line type table is changed.
Public eventLinewidthItemChanged
Occurs when one line width is changed.
Public eventLinewidthsChanged
Occurs when the line width table is changed.
Public eventMasterDrawComponentAdded
Occurs when the definition of the drawing component is added.
Public eventMasterDrawComponentDeleting
Occurs when the definition of the drawing component is deleted.
Public eventNewDocument
Occurs when a new document is created.
Public eventSelectionChanged
Occurs when the selection state of the shape is changed.
Public eventShapeAdded
Occurs when a shape is added.
Public eventShapeChanged
Occurs when the shape is changed.
Public eventShapeDelete
Occurs when the shape is deleted.
Public eventShapePrinting
Occurs before a figure is printed.
Public eventShapeSettingsChanged
Occurs when the shape settings is changed.
Public eventShapeSettingsStyleAdded
Occurs when a shape settings style is added.
Public eventShapeSettingsStyleChanged
Occurs when the shape settings style is changed.
Public eventShapeSettingsStyleDeleting
Occurs when the shape settings style is deleted.
Public eventTabViewActivated
Occurs when the view in the active tab changes.
Public eventWindowActivated
Occurs when the active window is changed.
Top
See Also