|
THPDFPage.DrawBarcode
|
Oben Zurück Weiter |
|
Zeichnet einen Barcode nach Typ, Koordinaten, Größe und Farbe.
type THPDFBarcodeType = ( bcCode_2_5_interleaved, bcCode_2_5_industrial, bcCode_2_5_matrix, bcCode39, bcCode39Extended, bcCode128A, bcCode128B, bcCode128C, bcCode93, bcCode93Extended, bcCodeMSI, bcCodePostNet, bcCodeCodabar, bcCodeEAN8, bcCodeEAN13, bcCodeUPC_A, bcCodeUPC_E0, bcCodeUPC_E1, bcCodeUPC_Supp2, bcCodeUPC_Supp5, bcCodeEAN128A, bcCodeEAN128B, bcCodeEAN128C );
Delphi syntax: procedure DrawBarcode( BCType: THPDFBarcodeType; X, Y, Height, MUnit:Integer; Angle: Single; Info: AnsiString; UseCheckSum: Boolean; BarColor, Color: TColor );
C++ syntax: void __fastcall DrawBarcode ( THPDFBarcodeType BCType, int X, int Y, int Height, int MUnit, float Angle, AnsiString Info, bool UseCheckSum, Graphics::TColor BarColor, Graphics::TColor Color);
Description Verwenden Sie DrawBarcode, um einen Barcode zu zeichnen, festgelegt durch Typ ( BCType ), Koordinaten ( X, Y ), vertikale Größe ( Height ), Breite einer Einheit ( MUnit ), Drehwinkel ( Angle ), Wert ( Info ), Vordergrund- und Hintergrundfarbe ( BarColor, Color ). Setzen Sie UseCheckSum auf true, um add checksum value.
THPDFBarcodeType ist der Typ des Barcodes. Folgende Werte sind für THPDFBarcodeType möglich:
Value Meaning bcCode_2_5_interleaved Draw Code 2/5 interleaved barcode bcCode_2_5_industrial Draw Code 2/5 industrial barcode bcCode_2_5_matrix Draw Code 2/5 matrix barcode bcCode39 Draw Code 39 barcode bcCode39Extended Draw Code 39 Extended barcode bcCode128A Draw Code 128A barcode bcCode128B Draw Code 128B barcode bcCode128C Draw Code 128C barcode bcCode93 Draw Code93 barcode bcCode93Extended Draw Code93 Extended barcode bcCodeMSI Draw MSI barcode bcCodePostNet Draw PostNet barcode bcCodeCodabar Draw Codabar barcode bcCodeEAN8 Draw EAN8 barcode bcCodeEAN13 Draw EAN13 barcode bcCodeUPC_A Draw UPC-A barcode bcCodeUPC_E0 Draw UPC-E0 barcode bcCodeUPC_E1 Draw UPC-E1 barcode bcCodeUPC_Supp2 Draw UPC-Supp2 barcode bcCodeUPC_Supp5 Draw UPC-Supp5 barcode bcCodeEAN128A Draw EAN-128A barcode bcCodeEAN128B Draw EAN-128B barcode bcCodeEAN128C Draw EAN-128C barcode
|