Click or drag to resize

DocumentHandler Class

Specific implementation of document handler which provides overrides for the document lifecycle events
Inheritance Hierarchy
SystemObject
  CodeStack.SwEx.AddIn.CoreDocumentHandler

Namespace:  CodeStack.SwEx.AddIn.Core
Assembly:  CodeStack.SwEx.AddIn (in CodeStack.SwEx.AddIn.dll) Version: 0.7.5.0 (0.7.5.0)
Syntax
public abstract class DocumentHandler : IDocumentHandler, 
	IDisposable

The DocumentHandler type exposes the following members.

Constructors
  NameDescription
Protected methodDocumentHandler
Initializes a new instance of the DocumentHandler class
Top
Properties
  NameDescription
Protected propertyApp
Pointer to the SOLIDWORKS application
Protected propertyModel
Pointer to the model of this handler
Top
Methods
  NameDescription
Public methodDispose
Releases all resources used by the DocumentHandler
Public methodOnActivate
Override to handle the activation of the document (when it is opened in its own window)
Public methodOnDestroy
Override to dispose the resources
Public methodOnInit
Override to handle the initialization of the document
Public methodOnLoadFromStorageStore
Override to read the data from the third party storage via Access3rdPartyStorageStore(IModelDoc2, String, Boolean) method
Public methodOnLoadFromStream
Override to read the data from the 3rd party stream via Access3rdPartyStream(IModelDoc2, String, Boolean)
Public methodOnSaveToStorageStore
Override to save the data from the third party storage via Access3rdPartyStorageStore(IModelDoc2, String, Boolean) method
Public methodOnSaveToStream
Override to save the data from the 3rd party stream via Access3rdPartyStream(IModelDoc2, String, Boolean)
Top
See Also