---
title: "method"
url: "https://reference.aspose.com/barcode/cpp/aspose.barcode.complexbarcode/gs1digitallink/togs1codetext/"
product: "Aspose.BarCode for C++ API Reference"
description: " method. Creates an independent GS1 codetext containing the current GS1 elements. URI-only information is not included in C++."
---

## GS1DigitalLink::ToGS1Codetext method


Creates an independent GS1 codetext containing the current GS1 elements. URI-only information is not included.

```cpp
System::SharedPtr<GS1Codetext> Aspose::BarCode::ComplexBarcode::GS1DigitalLink::ToGS1Codetext()
```


### ReturnValue

A GS1 codetext containing copies of the current elements.

## See Also

* Class [GS1Codetext](../../gs1codetext/)
* Class [GS1DigitalLink](../)
* Namespace [Aspose::BarCode::ComplexBarcode](../../)
* Library [Aspose.BarCode for C++](../../../)
