---
title: dataCodewordCount
framework: coreimage
role: symbol
role_heading: Instance Property
path: coreimage/ciazteccodedescriptor/datacodewordcount-swift.property
---

# dataCodewordCount

The number of non-error-correction codewords carried by the Aztec code symbol.

## Declaration

```swift
var dataCodewordCount: Int { get }
```

## Discussion

Discussion Used to determine the level of error correction in conjunction with the number of data layers. Valid values are 1 to 2048. Compact symbols can have up to 64 message codewords. note: This value can exceed the number of message codewords allowed by the number of data layers in this symbol. In this case, the actual number of message codewords is 1024 fewer than this value and the message payload is to be interpreted in an application-defined manner.

## See Also

### Examining a Descriptor

- [errorCorrectedPayload](coreimage/ciazteccodedescriptor/errorcorrectedpayload-swift.property.md)
- [isCompact](coreimage/ciazteccodedescriptor/iscompact-swift.property.md)
- [layerCount](coreimage/ciazteccodedescriptor/layercount-swift.property.md)
