Skip to main content
Namespace: VM.Managed
Assembly: VMAppCore.dll
This class is to represent the application.

Inheritance

object ← Application

Implements

IHasVerifyLevel

Extension 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

DialogManager

Gets or sets the threading of picker.

Property Value

IDlgManager

DocumentForUpdateContents

Property Value

Document

Documents

Gets all opened documents

Property Value

ICollection<Document>

Kernel

Gets the Kernel.

Property Value

Kernel

OEMMode

Property Value

bool

ShowOEMError

Property Value

bool

Methods

CreateDocument(DocumentType, Type, string[], DocCreateInfo)

Creates the document.

Parameters

type Application.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 Application.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

string

GetTranslateForExportFilter(string)

Parameters

strFilter string

Returns

string

InitPlugins(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 Application.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 Application.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 document

Parameters

strFilePath string The path of opened document. type Application.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

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

Returns

Application