    

 ## On this page

  

 

 # Class DesignFrameAPI

 Last update: 16.07.2025 

Namespace: [VM.API.Pre](VM.API.Pre.md)  
Assembly: VM.API.Pre.dll

This class implements APIs for  class.

```csharp
public static class DesignFrameAPI

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [DesignFrameAPI](VM.API.Pre.DesignFrameAPI.md)

#### 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

### CreateDesignFrame(IDocument, string, TMatrix)

Create .

```csharp
[NotNull(new string[] { "transform" })]
public static Obj CreateDesignFrame(this IDocument document, string name, TMatrix transform)

```

#### Parameters

`document` IDocument

The document to create the design frame.

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

The name of the design frame.

`transform` TMatrix

The transform to create the design frame.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

#### Exceptions

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

Will be thrown if 'transform' argument is null.

### CreateDesignFrame(IDocument, string, TransformBase, SymmetricType)

Create .

```csharp
[NotNull(new string[] { "transform" })]
public static Obj CreateDesignFrame(this IDocument document, string name, TransformBase transform, SymmetricType symmetricType = SymmetricType.None)

```

#### Parameters

`document` IDocument

The document to create the design frame.

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

The name of the design frame.

`transform` TransformBase

The transform to create the design frame.

`symmetricType` SymmetricType

The symmetric type of the new Managed.DAFUL.DesignFrame

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

#### Exceptions

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

Will be thrown if 'transform' argument is null.