Instance Method

initWithPayload:isCompact:rowCount:columnCount:

Initializes a descriptor that can be used as input to the CIBarcodeGenerator filter.

Declaration

- (instancetype)initWithPayload:(NSData *)errorCorrectedPayload isCompact:(BOOL)isCompact rowCount:(NSInteger)rowCount columnCount:(NSInteger)columnCount;

Parameters

errorCorrectedPayload

The data to encode in the PDF417 code.

isCompact

A Boolean specifying whether or not the code is compact.

rowCount

The number of rows in the PDF417 code.

columnCount

The number of columns in the PDF417 code.

Return Value

A PDF417 code descriptor encoding the specified payload with the specified row and column counts.

Discussion

The CIBarcodeGenerator filter can recreate a PDF417 code given the descriptor created using this method.

See Also

Creating a Descriptor

+ descriptorWithPayload:isCompact:rowCount:columnCount:

Creates a PDF417 code descriptor encoding the given payload and parameters.