How to Generate a Patch Code

Contents
[ ]

How to produce a Patch Code Instantiate a BarcodeGenerator and set its EncodeType to be EncodeTypes.PatchCode, and set its code text for the data you want to encode. Below is an example to generate a Patch code.

PatchCode is a specific barcode and often is used in the whole page. The following code example shows, how developers can generate whole pages.

Aspose.BarCode provides PatchFormat enumeration to generate PatchCode in a letter or Landscape format. The following code example demonstrates how to set the US Letter format.