Assembly: VMAppCore.dll This class is to represent the application.
Inheritance
object ← ApplicationImplements
IHasVerifyLevelExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Constructors
Application(IApplication*)
Initializes a new instance of the Application class.Parameters
pApp IApplication*
The info of application.
Properties
ConversionMethod
Property Value
ConversionMethodDialogManager
Gets or sets the threading of picker.Property Value
IDlgManagerDocumentForUpdateContents
Property Value
DocumentDocuments
Gets all opened documentsProperty Value
ICollection<Document>Kernel
Gets the Kernel.Property Value
KernelLoadPrior242Sp3Files
Property Value
boolOEMMode
Property Value
boolShowOEMError
Property Value
boolSupportLegacyACISBasedFile
Property Value
boolMethods
CreateDocument(DocumentType, Type, string[], DocCreateInfo)
Creates the document.Parameters
type DocumentType
The type of document.
typeDoc Type
The system type of document.
arIconFiles string[]
Icon files.
docCreateInfo DocCreateInfo
The info of creating document.
Returns
Document3D The created document.CreateDocument(DocumentType, Type)
Creates the document.Parameters
type DocumentType
The type of document.
typeDoc Type
The system type of document.
Returns
Document The created document.Dispose(bool)
Parameters
A_0 bool
Dispose()
destroy a instance of the Application class.~Application()
Releases unmanaged resources and performs other cleanup operations before the Application is reclaimed by garbage collection.GetTranslateFilter(string)
Parameters
strFilter string
Returns
stringGetTranslateForExportFilter(string)
Parameters
strFilter string
Returns
stringInitPlugins(string[])
Initializes a plugin.Parameters
arStrPluginPath string[]
The path of plugin.
OpenDocument(string, DocumentType, string[], PostOpenDocument)
Opens the document.Parameters
strFilePath string
The path of opened document.
type DocumentType
The type of document.
arIconFiles string[]
Icon files.
delPostOpen Application.PostOpenDocument
The delegate of post open.
Returns
Document3D The open document.OpenTemplateBasedDocument(string, DocumentType, string[], PostOpenDocument)
Opens the document of template base.Parameters
strFilePath string
The path of opened document.
type DocumentType
The type of document.
arIconFiles string[]
Icon files.
delPostOpen Application.PostOpenDocument
The delegate of post open.
Returns
Document3D The open document.OpenXmlDocument(string, DocumentType, string[], PostOpenDocument)
Opens the xml documentParameters
strFilePath string
The path of opened document.
type DocumentType
The type of document.
arIconFiles string[]
Icon files.
delPostOpen Application.PostOpenDocument
The delegate of post open.
Returns
Document3D The open document.SetAxisSetting(bool, AxisLocation)
Sets Axis Setting.Parameters
bUseRotate bool
Use rotate in axis area
enLocation AxisLocation
Axis Location
SetBinderDictionary(Dictionary<string, BinderInfo>, Dictionary<string, BinderInfo>)
Parameters
dicBinder Dictionary<string, Application.BinderInfo>
dicBinderForCollection Dictionary<string, Application.BinderInfo>
SetDoubleFormat(int)
Sets the double format.Parameters
nValue int
The value.
SetInforceBuild(string, bool)
Parameters
strFile string
bOnOff bool
SetKernelLogLevel(int, int)
Set kernel log levelParameters
nKernelLogLevel int
Log level for the kernel messages.
nTranslatorLogLevel int
Log level for the translator messages.
SetNavigationSetting(NavigationKeys, NavigationKeys, NavigationKeys, NavigationKeys, NavigationKeys, NavigationKeys, NavigationKeys, NavigationKeys, bool, bool, bool, int, int)
Parameters
oRotateMain NavigationKeys
oRotateSub NavigationKeys
oTranslateMain NavigationKeys
oTranslateSub NavigationKeys
oZoomMain NavigationKeys
oZoomSub NavigationKeys
oCenterMain NavigationKeys
oCenterSub NavigationKeys
bZoomInMouseDown bool
bZoomInWheelDown bool
bTrackball bool
nRotateSpeed int
nZoomSpeed int
Start(string, StartOption)
Start application.Parameters
strKernelPath string
The path of kernel.
obOption Application.StartOption
The application start option