---
title: "method"
url: "https://reference.aspose.com/barcode/cpp/aspose.barcode.generation/gs1compositebarparameters/get_allowonlygs1encoding/"
product: "Aspose.BarCode for C++ API Reference"
description: " method. If this flag is set, it allows only GS1 encoding standard for GS1CompositeBar 2D Component in C++."
---

## GS1CompositeBarParameters::get_AllowOnlyGS1Encoding method


If this flag is set, it allows only GS1 encoding standard for [GS1CompositeBar](../../../aspose.barcode.generation.gs1compositebar/) 2D Component

```cpp
bool Aspose::BarCode::Generation::GS1CompositeBarParameters::get_AllowOnlyGS1Encoding() const
```

## See Also

* Class [GS1CompositeBarParameters](../)
* Namespace [Aspose::BarCode::Generation](../../)
* Library [Aspose.BarCode for C++](../../../)
