'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 Red As Byte, _ ByVal Green As Byte, _ ByVal Blue As Byte _ ) As GdPictureStatus
public GdPictureStatus DrawBarcode1D( Barcode1DWriterType BarcodeType, string Data, float DstX, float DstY, float DstWidth, float DstHeight, byte Red, byte Green, byte Blue )
public function DrawBarcode1D( BarcodeType: Barcode1DWriterType; Data: String; DstX: Single; DstY: Single; DstWidth: Single; DstHeight: Single; Red: Byte; Green: Byte; Blue: Byte ): GdPictureStatus;
public function DrawBarcode1D( BarcodeType : Barcode1DWriterType, Data : String, DstX : float, DstY : float, DstWidth : float, DstHeight : float, Red : byte, Green : byte, Blue : byte ) : GdPictureStatus;
public: GdPictureStatus DrawBarcode1D( Barcode1DWriterType BarcodeType, string* Data, float DstX, float DstY, float DstWidth, float DstHeight, byte Red, byte Green, byte Blue )
public: GdPictureStatus DrawBarcode1D( Barcode1DWriterType BarcodeType, String^ Data, float DstX, float DstY, float DstWidth, float DstHeight, byte Red, byte Green, byte Blue )
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.
- Red
- The amount of red color to be used for the barcode's resulting color. Use the value between 0 and 255.
- Green
- The amount of green color to be used for the barcode's resulting color. Use the value between 0 and 255.
- Blue
- The amount of blue 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.