## Create(string, GS1Codetext) {#create}

Creates a GS1 Digital Link by copying all elements from GS1 codetext and selecting the only available primary key.

```csharp
public static GS1DigitalLink Create(string uriStem, GS1Codetext codetext)
```

| Parameter | Type | Description |
| --- | --- | --- |
| uriStem | String | Absolute HTTP or HTTPS URI prefix before the primary key. |
| codetext | GS1Codetext | GS1 codetext whose elements are copied. |

### Return Value

A GS1 Digital Link containing the copied elements.

### See Also

* class [GS1Codetext](../../gs1codetext/)
* class [GS1DigitalLink](../)
* namespace [Aspose.BarCode.ComplexBarcode](../../../aspose.barcode.complexbarcode/)
* assembly [Aspose.BarCode](../../../)

---

## Create(string, GS1Codetext, string) {#create_1}

Creates a GS1 Digital Link by copying all elements from GS1 codetext and using the specified primary key.

```csharp
public static GS1DigitalLink Create(string uriStem, GS1Codetext codetext, 
    string primaryApplicationIdentifier)
```

| Parameter | Type | Description |
| --- | --- | --- |
| uriStem | String | Absolute HTTP or HTTPS URI prefix before the primary key. |
| codetext | GS1Codetext | GS1 codetext whose elements are copied. |
| primaryApplicationIdentifier | String | Primary key AI. |

### Return Value

A GS1 Digital Link containing the copied elements.

### See Also

* class [GS1Codetext](../../gs1codetext/)
* class [GS1DigitalLink](../)
* namespace [Aspose.BarCode.ComplexBarcode](../../../aspose.barcode.complexbarcode/)
* assembly [Aspose.BarCode](../../../)


