'Declaration
Public Overloads Function DrawBarcode1D( _ ByVal BarcodeType As Barcode1DWriterType, _ ByVal Data As String, _ ByVal DstX As Single, _ ByVal DstY As Single, _ ByVal DstWidth As Single, _ ByVal DstHeight As Single, _ ByVal Cyan As Byte, _ ByVal Magenta As Byte, _ ByVal Yellow As Byte, _ ByVal Black As Byte _ ) As GdPictureStatus
public GdPictureStatus DrawBarcode1D( Barcode1DWriterType BarcodeType, string Data, float DstX, float DstY, float DstWidth, float DstHeight, byte Cyan, byte Magenta, byte Yellow, byte Black )
public function DrawBarcode1D( BarcodeType: Barcode1DWriterType; Data: String; DstX: Single; DstY: Single; DstWidth: Single; DstHeight: Single; Cyan: Byte; Magenta: Byte; Yellow: Byte; Black: Byte ): GdPictureStatus;
public function DrawBarcode1D( BarcodeType : Barcode1DWriterType, Data : String, DstX : float, DstY : float, DstWidth : float, DstHeight : float, Cyan : byte, Magenta : byte, Yellow : byte, Black : byte ) : GdPictureStatus;
public: GdPictureStatus DrawBarcode1D( Barcode1DWriterType BarcodeType, string* Data, float DstX, float DstY, float DstWidth, float DstHeight, byte Cyan, byte Magenta, byte Yellow, byte Black )
public: GdPictureStatus DrawBarcode1D( Barcode1DWriterType BarcodeType, String^ Data, float DstX, float DstY, float DstWidth, float DstHeight, byte Cyan, byte Magenta, byte Yellow, byte Black )
Parameters
- BarcodeType
- A member of the Barcode1DWriterType enumeration. The type of the required barcode.
- Data
- The data to encode using the required barcode.
- DstX
- The horizontal (X) coordinate of the destination point, expressed in the current units specified by the SetMeasurementUnit method with respect to the defined origin, related to the currently selected page.
- DstY
- The vertical (Y) coordinate of the destination point, expressed in the current units specified by the SetMeasurementUnit method with respect to the defined origin, related to the currently selected page.
- DstWidth
- The width of the barcode's bounding box, expressed in the current units specified by the SetMeasurementUnit method.
- DstHeight
- The height of the barcode's bounding box, expressed in the current units specified by the SetMeasurementUnit method.
- Cyan
- The amount of cyan color to be used for the barcode's resulting color. Use the value between 0 and 255.
- Magenta
- The amount of magenta to be used for the barcode's resulting color. Use the value between 0 and 255.
- Yellow
- The amount of yellow to be used for the barcode's resulting color. Use the value between 0 and 255.
- Black
- The amount of black (key) color to be used for the barcode's resulting color. Use the value between 0 and 255.
Return Value
We strongly recommend always checking this status first.