    

 ## On this page

  

 

 # Class LinksDocumentAPI.DocumentAPIImpl

 Last update: 16.07.2025 

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

This class implements APIs for document.

```csharp
public static class LinksDocumentAPI.DocumentAPIImpl

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [LinksDocumentAPI.DocumentAPIImpl](VM.API.Pre.Links.LinksDocumentAPI.DocumentAPIImpl.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

### CreateNewLinksDocumentImpl&lt;T&gt;(string, string, Unit, Plane, LengthUnitType, string, string)

Create .

```csharp
[NotNullOrEmpty(new string[] { "newLinksSubsystemFilePath" })]
public static T CreateNewLinksDocumentImpl<T>(string newLinksSubsystemFilePath, string documentName, Unit unit, Plane workingPlane, LengthUnitType kernelLengthUnit, string extension, string documentType) where T : DocumentAnalysis

```

#### Parameters

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

The file path of new subsystem file path.

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

The name of document. The default value is Subsystem\_LinksPath.

`unit` Unit

The unit information.

`workingPlane` Plane

The working plane. The default value is XZ.

`kernelLengthUnit` LengthUnitType

The length unit of kernel. The default value is mm.

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

The extension.

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

The document type.

#### Returns

T

The new  object that is created by this API.

#### Type Parameters

`T`

The document type

#### Exceptions

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

Will be thrown if 'newLinksSubsystemFilePath' argument is null.