---
title: "method"
url: "https://reference.aspose.com/barcode/cpp/aspose.barcode.complexbarcode/gs1codetext/get_barcodetype/"
product: "Aspose.BarCode for C++ API Reference"
description: " method. Gets the barcode type used to encode this GS1 codetext. Supported types are GS1Aztec, GS1CodablockF, GS1Code128, GS1DataMatrix, GS1DotCode, GS1HanXin, GS1MicroPdf417, GS1QR and GS1 DataBar types. The default value is GS1Code128 in C++."
---

## GS1Codetext::get_BarcodeType method


Gets the barcode type used to encode this GS1 codetext. Supported types are GS1Aztec, GS1CodablockF, GS1Code128, GS1DataMatrix, GS1DotCode, GS1HanXin, GS1MicroPdf417, GS1QR and GS1 DataBar types. The default value is GS1Code128.

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

## See Also

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