PDF417Control Class
|
|||||||||||||||||||||||||||||||||||
DataToEncode Property
Returns or sets the data that is to be encoded in the barcode. Syntax Possible Valuesobject.DataToEncode [ = sDataToEncode ] Control characters and use of the tilde To insert special characters, the "~" character is used. Below you can see available values of special characters. |
|||||||||||||||||||||||||||||||||||
CompactionMode Property
Returns or sets the encoding mode of the PDF417 barcode. Syntax Possible Valuesobject.CompactionMode [ = eCompactionMode ]
|
|||||||||||||||||||||||||||||||||||
ErrorCorrectionLevel Property
Returns or sets the error correction level of the PDF417 barcode. Syntax Possible Valuesobject.ErrorCorrectionLevel [ = eErrorCorrectionLevel ] Remarks Error correction can be used to compensate for defects in the label and misreads during the decode procedure. For any given error correction level, a particular number of error correction codewords is incorporated into the PDF417 symbol. |
|||||||||||||||||||||||||||||||||||
DataColumns Property
Returns or sets the number of data columns in the PDF417 matrix. This number can be from 1 to 30. The more the number of columns is, the greater width PDF417 needs. If the DataRows property is equal to zero, the number of rows is calculated automatically depending on the amount of encoded data and the number of columns. In the same way, if the number of data columns is equal to zero, the necessary number of columns will be calculated automatically. The DataColumns and DataRows properties cannot be both equal to zero. If DataColumns and DataRows are not equal to zero, the PDF417 control will try to encode the data using these parameters. Syntax Possible Valuesobject.DataColumns [ = iDataColumns ]
|
|||||||||||||||||||||||||||||||||||
DataRows Property
Returns or sets the number of data rows in the PDF417 matrix. This number can be from 3 to 90. Syntax Possible Valuesobject.DataRows [ = iDataRows ]
|
|||||||||||||||||||||||||||||||||||
CompactPDF Property
If this property is True, the PDF417 barcode will be drawn in the compact mode. You should keep in mind that not all scanners support compact PDF417. Syntax Possible Valuesobject.CompactPDF [ = bCompactPDF ] Remarks In earlier specifications of PDF417, this was called Truncated PDF417. Compact PDF417 is a preferred term to avoid confusion with the more general use of the term 'truncated'. |
|||||||||||||||||||||||||||||||||||
Y2XRatio Property
This property determines the ratio of y-dimension to x-dimension. The minimum recommended value is 3. Usually, this property is set to 4. Syntax Possible Valuesobject.Y2XRatio [ = rY2XRatio ]
|
|||||||||||||||||||||||||||||||||||
Orientation Property
Returns or sets the orientation of the barcode. Syntax Possible Valuesobject.Orientation [ = eOrientation ]
|
|||||||||||||||||||||||||||||||||||
Transparent Property
Returns or sets a value indicating whether the background of a PDF417 control is transparent or opaque. Syntax Possible Valuesobject.Transparent [ = bTransparent ]
|
|||||||||||||||||||||||||||||||||||
BackColor Property
Returns or sets the background color of a bar code. Syntax Possible Valuesobject.BackColor [ = sColor ]
|
|||||||||||||||||||||||||||||||||||
ForeColor Property
Returns or sets the foreground color of all bars in a bar code object. Syntax Possible Valuesobject.ForeColor [ = sColor ]
|
|||||||||||||||||||||||||||||||||||
QuietZone Property
Returns or sets a value that determines whether to include quiet zones. The PDF417 barcode shall include a quiet zone on all four sides. Syntax Possible Valuesobject.QuietZone [ = bQuietZone ] Remarks Quiet Zones are small areas of blank space (x-dimension). Most bar code symbology specifications require quiet zones therefore it is highly recommended that you enable this option. |
|||||||||||||||||||||||||||||||||||
AlignH Property
Returns or sets a horizontal barcode alignment. Syntax Possible Valuesobject.AlignH [ = eAlignH ]
|
|||||||||||||||||||||||||||||||||||
AlignV Property
Returns or sets a vertical barcode alignment. Syntax Possible Valuesobject.AlignV [ = eAlignV ]
|
|||||||||||||||||||||||||||||||||||
MacroPDF Property
If this property is true True, Macro PDF417 Control Block will be included in barcode PDF417. Macro PDF417 provides a mechanism for the data in a file to be split into blocks and be represented in more than one PDF417 symbol(barcode). This mechanism is similar to the Structured Append in other symbologies. Using Macro PDF417, large files are split into several file segments and encoded into individual symbols(barcodes). Up to 99999 individual PDF417 symbols(barcodes) may be used to encode data in Macro PDF417. The Macro PDF417 shall contain at least the three mandatory properties: MacroPDFSegmentCount, MacroPDFSegmentIdx, MacroPDFFileID. It also may contain a number of optional properties: MacroPDFFileName, MacroPDFTimeStamp, MacroPDFSender, MacroPDFAddressee, MacroPDFFileSize, MacroPDFChecksum. To be able to use Macro PDF417, your reader or software must support the Macro PDF417 technology. Syntax Possible Valuesobject.MacroPDF [ = bMacroPDF ] Examples PDF417Ctrl1.MacroPDF = TrueAnother example, optional properties are used here. PDF417Ctrl1.MacroPDF = TrueAs a result, three PDF417 symbols encoding one string "123456789" will be created. Of course, "123456789" is taken only as an example, Macro PDF417 is actually used to encode large amounts of information about several kilobytes.
|
|||||||||||||||||||||||||||||||||||
MacroPDFSegmentCount Property
Returns or sets the value that defines the total number of Macro PDF417 symbols. Syntax Possible Valuesobject.MacroPDFSegmentCount [ = iMacroPDFSegmentCount ]
|
|||||||||||||||||||||||||||||||||||
MacroPDFSegmentIdx Property
Returns or sets the segment index of Macro PDF417 symbols. Syntax Possible Valuesobject.MacroPDFSegmentIdx [ = iMacroPDFSegmentIdx ]
|
|||||||||||||||||||||||||||||||||||
MacroPDFFileID Property
Returns or sets Macro PDF417 file ID. For each related Macro PDF417 symbol, the file ID contains the same value. This ensures that all reassembled symbol data belongs to the same distributed file representation. Syntax Possible Valuesobject.MacroPDFFileID [ = sMacroPDFFileID ]
|
|||||||||||||||||||||||||||||||||||
MacroPDFFileName Property
Returns or sets a string of Macro PDF417 file name. This property is optional. Syntax Possible Valuesobject.MacroPDFFileName [ = sMacroPDFFileName ]
|
|||||||||||||||||||||||||||||||||||
MacroPDFTimeStamp Property
Returns or sets a string that determines Macro PDF417 time stamp expressed as the elapsed time in seconds since 1970:01:01:00:00:00 GMT (i.e. 00:00:00 GMT on 1 January 1970). This property is optional. Syntax Possible Valuesobject.MacroPDFTimeStamp [ = sMacroPDFTimeStamp ]
|
|||||||||||||||||||||||||||||||||||
MacroPDFSender Property
Returns or sets a string that determines Macro PDF417 file sender. This property is optional. Syntax Possible Valuesobject.MacroPDFSender [ = sMacroPDFSender ]
|
|||||||||||||||||||||||||||||||||||
MacroPDFAddressee Property
Returns or sets a string that determines the sender addressee. This property is optional. Syntax Possible Valuesobject.MacroPDFAddressee [ = sMacroPDFAddressee ]
|
|||||||||||||||||||||||||||||||||||
MacroPDFFileSize Property
Returns or sets a value that determines Macro PDF417 file size in bytes. This property is optional. Syntax Possible Valuesobject.MacroPDFFileSize [ = iMacroPDFFileSize ]
|
|||||||||||||||||||||||||||||||||||
MacroPDFChecksum Property
Returns or sets a value that contains the value of the 16-bit (2-bytes) CRC checksum using CCITT-16 polynomial x16+x12+x5+1 computed over the entire source file. This property is optional. Syntax Possible Valuesobject.MacroPDFChecksum [ = iMacroPDFChecksum ]
|
|||||||||||||||||||||||||||||||||||
FreezeEncode Property
This property pauses or resumes encoding the PDF417 symbol. It makes sense to use this method in heavily loaded application, for example, web services, etc. Syntax Possible Valuesobject.FreezeEncode [ = bFreezeEncode ] Example You need to set several properties of the DataMatrix control. Each time some properties are set (CompactionMode, DataToEncode, ErrorCorrectionLevel and others) the matrix is re-encoded, i.e. the Reed-Solomon codes are calculated, the matrix is build, etc. It takes a lot of CPU time. To improve the performance of the application, you can pause encoding and resume it only after all properties are set.PDF417Ctrl.FreezeEncode = True |
|||||||||||||||||||||||||||||||||||
JPEGQuality Property
Returns or sets the value indicating the image quality in the JPEG format. This property makes sense only if the SaveToImageFile method is used and the barcode is saved to a JPEG file. Syntax Possible Valuesobject.JPEGQuality [ = iJPEGQuality ]
|