    

 ## On this page

  

 

 # Interface IAppHandle

 Last update: 16.07.2025 

Namespace: [VM.NX.Dialog](VM.NX.Dialog.md)  
Assembly: VMDIDef.dll

```csharp
public interface IAppHandle

```

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Methods

### Activate(UIntPtr, bool)

```csharp
void Activate(UIntPtr obj, bool isActive)

```

#### Parameters

`obj` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

`isActive` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Activate(List&lt;UIntPtr&gt;, bool)

```csharp
void Activate(List<UIntPtr> lstObj, bool isActive)

```

#### Parameters

`lstObj` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)&gt;

`isActive` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### ActivateFromExtern(UIntPtr, bool)

```csharp
void ActivateFromExtern(UIntPtr obj, bool isActive)

```

#### Parameters

`obj` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

`isActive` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### ActivateFromExternWithoutReset(UIntPtr, bool)

```csharp
void ActivateFromExternWithoutReset(UIntPtr obj, bool isActive)

```

#### Parameters

`obj` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

`isActive` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### ActivateWithoutReset(UIntPtr, bool)

```csharp
void ActivateWithoutReset(UIntPtr obj, bool isActive)

```

#### Parameters

`obj` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

`isActive` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### ActivateWithoutReset(List&lt;UIntPtr&gt;, bool)

```csharp
void ActivateWithoutReset(List<UIntPtr> lstObj, bool isActive)

```

#### Parameters

`lstObj` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)&gt;

`isActive` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### CalcCoordSys(string, XmlNode, XmlNode)

```csharp
bool CalcCoordSys(string strPickResult, XmlNode nodeBaseCoordSys, XmlNode nodeActionCoordSys)

```

#### Parameters

`strPickResult` [string](https://learn.microsoft.com/dotnet/api/system.string)

`nodeBaseCoordSys` [XmlNode](https://learn.microsoft.com/dotnet/api/system.xml.xmlnode)

`nodeActionCoordSys` [XmlNode](https://learn.microsoft.com/dotnet/api/system.xml.xmlnode)

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### DeleteObject(UIntPtr, bool)

```csharp
bool DeleteObject(UIntPtr obj, bool isFirst)

```

#### Parameters

`obj` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

`isFirst` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### DistanceBetween2Points(UIntPtr, UIntPtr)

```csharp
double DistanceBetween2Points(UIntPtr tagFrom, UIntPtr tagTo)

```

#### Parameters

`tagFrom` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

`tagTo` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)

### FindInActiveModel(string)

```csharp
UIntPtr FindInActiveModel(string strObjName)

```

#### Parameters

`strObjName` [string](https://learn.microsoft.com/dotnet/api/system.string)

#### Returns

[UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

### GetDefaultName(string)

```csharp
string GetDefaultName(string strHead)

```

#### Parameters

`strHead` [string](https://learn.microsoft.com/dotnet/api/system.string)

#### Returns

[string](https://learn.microsoft.com/dotnet/api/system.string)

### IsValidName(string, UIntPtr, UIntPtr)

```csharp
bool IsValidName(string strName, UIntPtr tagContainer, UIntPtr tagObject)

```

#### Parameters

`strName` [string](https://learn.microsoft.com/dotnet/api/system.string)

`tagContainer` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

`tagObject` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### RegisterStrDialogResult(int, XmlDocument)

```csharp
void RegisterStrDialogResult(int nIDDialog, XmlDocument domResult)

```

#### Parameters

`nIDDialog` [int](https://learn.microsoft.com/dotnet/api/system.int32)

`domResult` [XmlDocument](https://learn.microsoft.com/dotnet/api/system.xml.xmldocument)

### SetMultiDeleteObject(bool)

```csharp
void SetMultiDeleteObject(bool bMulti)

```

#### Parameters

`bMulti` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### StartOperation(string)

```csharp
void StartOperation(string strOpName)

```

#### Parameters

`strOpName` [string](https://learn.microsoft.com/dotnet/api/system.string)

### StartOperation(string, string)

```csharp
void StartOperation(string strOpName, string strOpInfo)

```

#### Parameters

`strOpName` [string](https://learn.microsoft.com/dotnet/api/system.string)

`strOpInfo` [string](https://learn.microsoft.com/dotnet/api/system.string)

### StartOperation(string, string, bool)

```csharp
void StartOperation(string strOpName, string strOpInfo, bool bHistoryMerge)

```

#### Parameters

`strOpName` [string](https://learn.microsoft.com/dotnet/api/system.string)

`strOpInfo` [string](https://learn.microsoft.com/dotnet/api/system.string)

`bHistoryMerge` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### StartOperation(string, UIntPtr, string)

```csharp
void StartOperation(string strOpName, UIntPtr ptrDoc, string strOpInfo)

```

#### Parameters

`strOpName` [string](https://learn.microsoft.com/dotnet/api/system.string)

`ptrDoc` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

`strOpInfo` [string](https://learn.microsoft.com/dotnet/api/system.string)

### UpdateDisplay()

```csharp
void UpdateDisplay()

```