| 构造器和说明 | 
|---|
PDF417Writer()  | 
| 限定符和类型 | 方法和说明 | 
|---|---|
BitMatrix | 
encode(java.lang.String contents,
      BarcodeFormat format,
      int width,
      int height)
Encode a barcode using the default settings. 
 | 
BitMatrix | 
encode(java.lang.String contents,
      BarcodeFormat format,
      int width,
      int height,
      java.util.Map<EncodeHintType,?> hints)  | 
public BitMatrix encode(java.lang.String contents, BarcodeFormat format, int width, int height, java.util.Map<EncodeHintType,?> hints) throws WriterException1
encode 在接口中 Writercontents - The contents to encode in the barcodeformat - The barcode format to generatewidth - The preferred width in pixelsheight - The preferred height in pixelshints - Additional parameters to supply to the encoderBitMatrix representing encoded barcode imageWriterException1 - if contents cannot be encoded legally in a formatpublic BitMatrix encode(java.lang.String contents, BarcodeFormat format, int width, int height) throws WriterException1
Writerencode 在接口中 Writercontents - The contents to encode in the barcodeformat - The barcode format to generatewidth - The preferred width in pixelsheight - The preferred height in pixelsBitMatrix representing encoded barcode imageWriterException1 - if contents cannot be encoded legally in a format