'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 BarColor As Color _ ) As GdPictureStatus
public GdPictureStatus DrawBarcode1D( Barcode1DWriterType BarcodeType, string Data, float DstX, float DstY, float DstWidth, float DstHeight, Color BarColor )
public function DrawBarcode1D( BarcodeType: Barcode1DWriterType; Data: String; DstX: Single; DstY: Single; DstWidth: Single; DstHeight: Single; BarColor: Color ): GdPictureStatus;
public function DrawBarcode1D( BarcodeType : Barcode1DWriterType, Data : String, DstX : float, DstY : float, DstWidth : float, DstHeight : float, BarColor : Color ) : GdPictureStatus;
public: GdPictureStatus DrawBarcode1D( Barcode1DWriterType BarcodeType, string* Data, float DstX, float DstY, float DstWidth, float DstHeight, Color BarColor )
public: GdPictureStatus DrawBarcode1D( Barcode1DWriterType BarcodeType, String^ Data, float DstX, float DstY, float DstWidth, float DstHeight, Color BarColor )
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.
- BarColor
- A color object that defines the color to be used for drawing a required barcode.
Return Value
We strongly recommend always checking this status first.