<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIPDF417BarcodeGenerator",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Core Image"
    ],
    "preciseIdentifier" : "c:objc(pl)CIPDF417BarcodeGenerator"
  },
  "title" : "CIPDF417BarcodeGenerator"
}
-->

# CIPDF417BarcodeGenerator

The properties you use to configure a PDF417 barcode generator filter.

```
protocol CIPDF417BarcodeGenerator : CIFilterProtocol
```

## Topics

### Instance Properties

[`alwaysSpecifyCompaction`](/documentation/CoreImage/CIPDF417BarcodeGenerator/alwaysSpecifyCompaction)

A Boolean value specifying whether to force compaction style.

[`compactStyle`](/documentation/CoreImage/CIPDF417BarcodeGenerator/compactStyle)

A Boolean value specifying whether to force compact style Aztec code.

[`compactionMode`](/documentation/CoreImage/CIPDF417BarcodeGenerator/compactionMode)

The compaction mode of the generated barcode.

[`correctionLevel`](/documentation/CoreImage/CIPDF417BarcodeGenerator/correctionLevel)

The correction level ratio of the generated barcode.

[`dataColumns`](/documentation/CoreImage/CIPDF417BarcodeGenerator/dataColumns)

The number of data columns in the generated barcode.

[`maxHeight`](/documentation/CoreImage/CIPDF417BarcodeGenerator/maxHeight)

The maximum height, in pixels, of the generated barcode.

[`maxWidth`](/documentation/CoreImage/CIPDF417BarcodeGenerator/maxWidth)

The maximum width, in pixels, of the generated barcode.

[`message`](/documentation/CoreImage/CIPDF417BarcodeGenerator/message)

The message to encode in the PDF417 barcode.

[`minHeight`](/documentation/CoreImage/CIPDF417BarcodeGenerator/minHeight)

The minimum height, in pixels, of the generated barcode.

[`minWidth`](/documentation/CoreImage/CIPDF417BarcodeGenerator/minWidth)

The minimum width, in pixels, of the generated barcode.

[`preferredAspectRatio`](/documentation/CoreImage/CIPDF417BarcodeGenerator/preferredAspectRatio)

The preferred aspect ratio of the generated barcode.

[`rows`](/documentation/CoreImage/CIPDF417BarcodeGenerator/rows)

The number of rows in the generated barcode.

## See Also

[`pdf417BarcodeGenerator()`](/documentation/CoreImage/CIFilter-swift.class/pdf417BarcodeGenerator())

Generates a high-density linear barcode.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)