---
title: "method"
url: "https://reference.aspose.com/barcode/cpp/aspose.barcode.generation/aztecparameters/get_layerscount/"
product: "Aspose.BarCode for C++ API Reference"
description: " method. Gets layers count of Aztec symbol. Layers count should be in range from 1 to 3 for Compact mode and in range from 1 to 32 for Full Range mode. Default value: 0 (auto) in C++."
---

## AztecParameters::get_LayersCount method


Gets layers count of Aztec symbol. Layers count should be in range from 1 to 3 for Compact mode and in range from 1 to 32 for Full Range mode. Default value: 0 (auto).

```cpp
int32_t Aspose::BarCode::Generation::AztecParameters::get_LayersCount() const
```

## See Also

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