> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface IHasModal

Namespace: [VM.Managed.DAFUL.FE](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.FE)\
Assembly: VMFE.dll

This interface is to represent the object that has modal.

```csharp theme={null}
public interface IHasModal
```

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Methods

### GetModalPath()

Gets the modal information.

```csharp theme={null}
string GetModalPath()
```

#### Returns

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

### GetModes()

Gets the Modes.

```csharp theme={null}
ObjectBase[] GetModes()
```

#### Returns

ObjectBase\[]

The modes.

### SetModalPath(string, string)

Sets the modal information.

```csharp theme={null}
void SetModalPath(string strPath, string strDocumentDir)
```

#### Parameters

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

The modal absolute path

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

The document directory

### SetModalPath(string)

Sets the modal information.

```csharp theme={null}
void SetModalPath(string strPath)
```

#### Parameters

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

The modal absolute path
