---
title: "method"
url: "https://reference.aspose.com/barcode/cpp/aspose.barcode.complexbarcode/gs1digitallink/get_barcodetype/"
product: "Aspose.BarCode for C++ API Reference"
description: " method. Gets the barcode type used to encode this GS1 Digital Link. Supported types are QR, DataMatrix, Aztec, Pdf417, MicroPdf417, DotCode, HanXin, CodablockF and Code128. The default value is QR in C++."
---

## GS1DigitalLink::get_BarcodeType method


Gets the barcode type used to encode this GS1 Digital Link. Supported types are QR, DataMatrix, Aztec, Pdf417, MicroPdf417, DotCode, HanXin, CodablockF and Code128. The default value is QR.

```cpp
System::SharedPtr<Generation::BaseEncodeType> Aspose::BarCode::ComplexBarcode::GS1DigitalLink::get_BarcodeType() const
```

## See Also

* Class [BaseEncodeType](../../../aspose.barcode.generation/baseencodetype/)
* Class [GS1DigitalLink](../)
* Namespace [Aspose::BarCode::ComplexBarcode](../../)
* Library [Aspose.BarCode for C++](../../../)
