---
title: "method"
url: "https://reference.aspose.com/barcode/cpp/aspose.barcode.generation/datamatrixparameters/set_ecctype/"
product: "Aspose.BarCode for C++ API Reference"
description: " method. Sets a Datamatrix ECC type. Default value: DataMatrixEccType.Ecc200 in C++."
---

## DataMatrixParameters::set_EccType method


Sets a Datamatrix ECC type. Default value: [DataMatrixEccType.Ecc200](../../datamatrixecctype/).

```cpp
void Aspose::BarCode::Generation::DataMatrixParameters::set_EccType(DataMatrixEccType value)
```

## See Also

* Enum [DataMatrixEccType](../../datamatrixecctype/)
* Class [DataMatrixParameters](../)
* Namespace [Aspose::BarCode::Generation](../../)
* Library [Aspose.BarCode for C++](../../../)
