com.aspose.barcode

Class BarCodeControl

  • java.lang.Object
    • java.awt.Component
      • java.awt.Container
        • javax.swing.JComponent
          • javax.swing.JPanel
            • com.aspose.barcode.BarCodeControl
  • All Implemented Interfaces:
    java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible

    Deprecated.

    @Deprecated
    public final class BarCodeControl
    extends javax.swing.JPanel

    To use BarCodeControl add aspose-barcode.jar to classpath. Supported symbology: 1D: Codabar, Code11, Code128, Code39Standard, Code39Extended Code93Standard, Code93Extended, EAN13, EAN8, Interleaved2of5, MSI, Standard2of5, UPCA, UPCE, ISBN, GS1Code128, Postnet, Planet EAN14, SCC14, SSCC18, ITF14, SingaporePost 2D: DataMatrix, PDf417, QR code

    See Also:
    BarCodeBuilder, Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.swing.JPanel

        javax.swing.JPanel.AccessibleJPanel
      • Nested classes/interfaces inherited from class javax.swing.JComponent

        javax.swing.JComponent.AccessibleJComponent
      • Nested classes/interfaces inherited from class java.awt.Container

        java.awt.Container.AccessibleAWTContainer
      • Nested classes/interfaces inherited from class java.awt.Component

        java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
    • Field Summary

      • Fields inherited from class javax.swing.JComponent

        listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
      • Fields inherited from class java.awt.Component

        accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
      • Fields inherited from interface java.awt.image.ImageObserver

        ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method and Description
      float getAspectRatio()
      Deprecated. 
      2D BarCode's module's height/width ratio (yDimension/xDimension).
      boolean getAutoSize()
      Deprecated. 
      Wether ajust image's size automatically.
      int getAztectErrorLevel()
      Deprecated. 
      Level of error corection of Aztect types of barcode.
      java.awt.Color getBackColor()
      Deprecated. 
      Background color of the barcode image see System.Drawing.Color
      java.awt.image.BufferedImage getBarCodeImage()
      Deprecated. 
      Gets the BarCode Image.
      float getBarHeight()
      Deprecated. 
      height of 1D barcodes' bars.
      java.awt.Color getBorderColor()
      Deprecated. 
      BarCode Image's border's color see System.Drawing.Color see BorderWidth see BorderVisible see BorderDashStyle
      BorderDashStyle getBorderDashStyle()
      Deprecated. 
      BarCode Image's border's style see BarCode.BorderDashStyle see BorderWidth see BorderVisible see BorderColor
      boolean getBorderVisible()
      Deprecated. 
      wether BarCode Image's border is visible see BorderWidth see see
      float getBorderWidth()
      Deprecated. 
      BarCode Image's border's width DEFAULT GRAPHICS Unit: MILLIMETER see BorderVisible see see
      Caption getCaptionAbove()
      Deprecated. 
      Caption Above the BarCode image.
      Caption getCaptionBelow()
      Deprecated. 
      Caption Below the BarCode image.
      short getCodabarStartSymbol()
      Deprecated. 
      Start symbol (character) of codabar symbology see CodabarStopSymbol see CodabarSymbol
      short getCodabarStopSymbol()
      Deprecated. 
      Stop symbol (character) of codabar symbology see CodabarStartSymbol see CodabarSymbol
      CodeLocation getCodeLocation()
      Deprecated. 

      Specify the displaying CodeText's Location, set to CodeLocation.NONE to hide CodeText.
      java.lang.String getCodeText()
      Deprecated. 
      Data to be encoded, different types of BarCode may have different CodeText length restrictions See EnableEscape.
      StringAlignment getCodeTextAlignment()
      Deprecated. 
      Gets the alignment of the code text.
      java.awt.Color getCodeTextColor()
      Deprecated. 
      Specify the displaying CodeText's Color see System.Drawing.Color
      java.nio.charset.Charset getCodeTextEncoding()
      Deprecated. 
      Gets a character encoding.
      java.awt.Font getCodeTextFont()
      Deprecated. 

      Specify the displaying CodeText's font
      float getCodeTextSpace()
      Deprecated. 
      Space between the CodeText and the BarCode.
      int getColumns()
      Deprecated. 
      2D BarCode's columns, if setting is illegal then columns will be calculated automatically appliable EncodeTypes: Pdf417
      CustomerInformationInterpretingType getCustomerInformationInterpretingType()
      Deprecated. 
      Interpreting type for the Customer Information of AustralianPost, default to CustomerInformationInterpretingType.OTHER" See BarCode.CustomerInformationInterpretingType.
      DataMatrixEncodeMode getDataMatrixEncodeMode()
      Deprecated. 
      Encode mode of Datamatrix barcode, default to AUTO see BarCode.DataMatrixEncodeModeDataMatrixEncodeMode .
      java.lang.String getDisplay2DText()
      Deprecated. 
      Gets the text will displayed on the barcode's image.
      EnableChecksum getEnableChecksum()
      Deprecated. 
      boolean getEnableEscape()
      Deprecated. 
      Indicates whether explains the character "\" as an escape character in CodeText property.
      BaseEncodeType getEncodeType()
      Deprecated. 
      BarCode's encode type (symbology).
      java.awt.Color getForeColor()
      Deprecated. 
      Foreground color of the barcode image, that is, BAR's color of 1D barcode, Module's color of 2D barcode see System.Drawing.Color
      GraphicsUnit getGraphicsUnit()
      Deprecated. 
      Measurement of various properties such as width, height etc.
      float getImageHeight()
      Deprecated. 
      BarCode image's height see AutoSize, if AutoSize is true, height will be increased accordingly DEFAULT GRAPHICS Unit: MILLIMETER
      com.aspose.barcode.ImageQualityMode getImageQuality()
      Deprecated. 
      GRAPHICS quality mode, when RotationAngleF not equal to 0, 90, 180 or 270, do set quality mode to anti-alias.
      float getImageWidth()
      Deprecated. 
      BarCode image's width see AutoSize, if AutoSize is true, ImageWidth will be increased accordingly DEFAULT GRAPHICS Unit: MILLIMETER
      ITF14BorderType getITF14BorderType()
      Deprecated. 
      Border type of ITF14 barcode, quiet zone will be determined by margin settings.
      int getMacroPdf417FileID()
      Deprecated. 
      Gets macro pdf417 barcode's file ID.
      int getMacroPdf417SegmentID()
      Deprecated. 
      Gets macro pdf417 barcode's segment ID, which starts from 0, to MacroPdf417SegmentCount - 1.
      int getMacroPdf417SegmentsCount()
      Deprecated. 
      Gets macro pdf417 barcode segments count.
      com.aspose.barcode.MarginsF getMargins()
      Deprecated. 
      Margin area around the core BarCode image If AutoSize is false, then width and height is fixed, thus Margins setting will be ignored DEFAULT GRAPHICS Unit: MILLIMETER
      Pdf417CompactionMode getPdf417CompactionMode()
      Deprecated. 
      Pdf417 symbology type of BarCode's compaction mode, default compaction mode is <bode>AUTO</bode> see BarCode.Pdf417CompactionMode
      Pdf417ErrorLevel getPdf417ErrorLevel()
      Deprecated. 
      Gets Pdf417 symbology type of BarCode's error coccrection level ranging from level0 to level9, level0 means no error correction info, level9 means best error correction which means a larger picture
      boolean getPdf417Truncate()
      Deprecated. 
      whether pdf417 symbology type of BarCode is truncated (to reduce space)
      float getPlanetShortBarHeight()
      Deprecated. 
      Short bar's height of Planet barcode, it has to be between 1 millimeter and 1.5 milimeters.
      float getPostnetShortBarHeight()
      Deprecated. 
      Short bar's height of Postnet barcode, it has to be between 1 millimeter and 1.5 milimeter (0.04 inch and 0.06 inch).
      java.lang.String getPrinterName()
      Deprecated. 
      Choose printer, if not specified, Print() method will choose the first available printer
      QREncodeMode getQREncodeMode()
      Deprecated. 
      QR symbology type of BarCode's encoding mode, default mode is <bode>AUTO</bode>
      QRErrorLevel getQRErrorLevel()
      Deprecated. 
      Level of Reed-Solomon error correction for QR barcode.
      com.aspose.barcode.Resolution getResolution()
      Deprecated. 
      Gets the resolution of the BarCode image see BarCode.Resolution
      float getRotationAngleF()
      Deprecated. 
      BarCode image's rotation angle, measured in degree, e.g.
      int getRows()
      Deprecated. 
      2D BarCode's rows, if setting is illegal then rows will be calculated automatically appliable EncodeTypes: Pdf417
      java.lang.String getSupplementData()
      Deprecated. 
      Supplement data following BarCodes of symbology UPCA, UPCE, EAN13, EAN8, ISBN, Interleaved2of5 or Standard2of5.
      float getSupplementSpace()
      Deprecated. 
      Space between main the BarCode and supplement BarCode, default GRAPHICS Unit: millimeter see System.Drawing.GraphicsUnit see SupplementData
      com.aspose.barcode.TextRenderingHint getTextRenderingHint()
      Deprecated. 
      Specifies the quality of text rendering.
      float getWideNarrowRatio()
      Deprecated. 
      Wide bars to Narrow bars ratio for some 1D BarCode.
      float getxDimension()
      Deprecated. 
      x-dimension, smallest width unit of BarCode's bars or spaces.
      float getyDimension()
      Deprecated. 
      y-dimension, smallest height unit of 2D BarCode's modules.
      protected void paintComponent(java.awt.Graphics g)
      Deprecated. 
       
      void print()
      Deprecated. 
      Print BarCodeImage see PrinterName
      void rotate()
      Deprecated. 
      Rotate barcode image clockwise for 90 degrees
      void rotate(float angle)
      Deprecated. 
      Rotate barcode image clockwise
      void rotate(int direction, float angle)
      Deprecated. 
      void rotate(com.aspose.barcode.RotationDirection direction, float angle)
      Deprecated. 
      Rotate the barcode image
      void save(java.io.OutputStream stream, BarCodeImageFormat format)
      Deprecated. 
      Save BarCodeImage to specific file in specific format
      void save(java.lang.String filename)
      Deprecated. 
      Save BarCodeImage to specific file in specific format
      void save(java.lang.String filename, BarCodeImageFormat format)
      Deprecated. 
      Save BarCodeImage to specific file in specific format
      void setAspectRatio(float value)
      Deprecated. 
      2D BarCode's module's height/width ratio (yDimension/xDimension).
      void setAutoSize(boolean value)
      Deprecated. 
      Sets a value indicating whether the image size is to be adjusted automatically.
      void setAztectErrorLevel(int value)
      Deprecated. 
      Level of error corection of Aztect types of barcode.
      void setBackColor(java.awt.Color value)
      Deprecated. 
      Background color of the barcode image see System.Drawing.Color
      void setBarHeight(float value)
      Deprecated. 
      height of 1D barcodes' bars.
      void setBorderColor(java.awt.Color value)
      Deprecated. 
      BarCode Image's border's color see System.Drawing.Color see BorderWidth see BorderVisible see BorderDashStyle
      void setBorderDashStyle(BorderDashStyle value)
      Deprecated. 
      BarCode Image's border's style see BarCode.BorderDashStyle see BorderWidth see BorderVisible see BorderColor
      void setBorderDashStyle(int value)
      Deprecated. 
      void setBorderVisible(boolean value)
      Deprecated. 
      wether BarCode Image's border is visible see BorderWidth see see
      void setBorderWidth(float value)
      Deprecated. 
      BarCode Image's border's width DEFAULT GRAPHICS Unit: MILLIMETER see BorderVisible see see
      void setCaptionAbove(Caption value)
      Deprecated. 
      Caption Above the BarCode image.
      void setCaptionBelow(Caption value)
      Deprecated. 
      Caption Below the BarCode image.
      void setCodabarStartSymbol(short value)
      Deprecated. 
      Start symbol (character) of codabar symbology see CodabarStopSymbol see CodabarSymbol
      void setCodabarStopSymbol(short value)
      Deprecated. 
      Stop symbol (character) of codabar symbology see CodabarStartSymbol see CodabarSymbol
      void setCodeLocation(CodeLocation value)
      Deprecated. 

      Specify the displaying CodeText's Location, set to CodeLocation.NONE to hide CodeText.
      void setCodeText(java.lang.String value)
      Deprecated. 
      Data to be encoded, different types of BarCode may have different CodeText length restrictions
      void setCodeTextAlignment(int value)
      Deprecated. 
      void setCodeTextAlignment(StringAlignment value)
      Deprecated. 
      CodeTextAlignment
      void setCodeTextColor(java.awt.Color value)
      Deprecated. 
      Specify the displaying CodeText's Color see System.Drawing.Color
      void setCodeTextEncoding(java.nio.charset.Charset value)
      Deprecated. 
      Sets a character encoding.
      void setCodeTextFont(java.awt.Font value)
      Deprecated. 

      Specify the displaying CodeText's font
      void setCodeTextSpace(float value)
      Deprecated. 
      Space between the CodeText and the BarCode.
      void setColumns(int value)
      Deprecated. 
      2D BarCode's columns, if setting is illegal then columns will be calculated automatically appliable EncodeTypes: Pdf417
      void setCustomerInformationInterpretingType(CustomerInformationInterpretingType value)
      Deprecated. 
      Interpreting type for the Customer Information of AustralianPost, default to CustomerInformationInterpretingType.OTHER" See BarCode.CustomerInformationInterpretingType.
      void setCustomerInformationInterpretingType(int value)
      Deprecated. 
      void setDataMatrixEncodeMode(DataMatrixEncodeMode value)
      Deprecated. 
      Encode mode of Datamatrix barcode, default to AUTO see BarCode.DataMatrixEncodeModeDataMatrixEncodeMode .
      void setDataMatrixEncodeMode(int value)
      Deprecated. 
      void setDisplay2DText(java.lang.String value)
      Deprecated. 
      Sets the text will displayed on the barcode's image.
      void setEnableChecksum(EnableChecksum value)
      Deprecated. 
      void setEnableChecksum(int value)
      Deprecated. 
      void setEnableEscape(boolean value)
      Deprecated. 
      Indicates whether explains the character "\" as an escape character in CodeText property.
      void setEncodeType(BaseEncodeType value)
      Deprecated. 
      BarCode's encode type (symbology).
      void setForeColor(java.awt.Color value)
      Deprecated. 
      Foreground color of the barcode image, that is, BAR's color of 1D barcode, Module's color of 2D barcode see System.Drawing.Color
      void setGraphicsUnit(GraphicsUnit value)
      Deprecated. 
      Measurement of various properties such as width, height etc.
      void setGraphicsUnit(int value)
      Deprecated. 
      void setImageHeight(float value)
      Deprecated. 
      BarCode image's height see AutoSize, if AutoSize is true, height will be increased accordingly DEFAULT GRAPHICS Unit: MILLIMETER
      void setImageQuality(com.aspose.barcode.ImageQualityMode value)
      Deprecated. 
      GRAPHICS quality mode, when RotationAngleF not equal to 0, 90, 180 or 270, do set quality mode to anti-alias.
      void setImageQuality(int value)
      Deprecated. 
      void setImageWidth(float value)
      Deprecated. 
      BarCode image's width.
      void setITF14BorderType(int value)
      Deprecated. 
      Border type of ITF14 barcode, quiet zone will be determined by margin settings.
      void setITF14BorderType(ITF14BorderType value)
      Deprecated. 
      Border type of ITF14 barcode, quiet zone will be determined by margin settings.
      void setMacroPdf417FileID(int value)
      Deprecated. 
      Sets macro pdf417 barcode's file ID.
      void setMacroPdf417SegmentID(int value)
      Deprecated. 
      Sets macro pdf417 barcode's segment ID, which starts from 0, to MacroPdf417SegmentCount - 1.
      void setMacroPdf417SegmentsCount(int value)
      Deprecated. 
      Sets macro pdf417 barcode segments count.
      void setMargins(com.aspose.barcode.MarginsF value)
      Deprecated. 
      Margin area around the core BarCode image If AutoSize is false, then width and height is fixed, thus Margins setting will be ignored DEFAULT GRAPHICS Unit: MILLIMETER
      void setPdf417CompactionMode(int value)
      Deprecated. 
      Pdf417 symbology type of BarCode's compaction mode, default compaction mode is <bode>AUTO</bode> see BarCode.Pdf417CompactionMode
      void setPdf417CompactionMode(Pdf417CompactionMode value)
      Deprecated. 
      Pdf417 symbology type of BarCode's compaction mode, default compaction mode is <bode>AUTO</bode> see BarCode.Pdf417CompactionMode
      void setPdf417ErrorLevel(int value)
      Deprecated. 
      Sets Pdf417 symbology type of BarCode's error coccrection level ranging from level0 to level9, level0 means no error correction info, level9 means best error correction which means a larger picture
      void setPdf417ErrorLevel(Pdf417ErrorLevel value)
      Deprecated. 
      Sets Pdf417 symbology type of BarCode's error coccrection level ranging from level0 to level9, level0 means no error correction info, level9 means best error correction which means a larger picture
      void setPdf417Truncate(boolean value)
      Deprecated. 
      whether pdf417 symbology type of BarCode is truncated (to reduce space)
      void setPlanetShortBarHeight(float value)
      Deprecated. 
      Short bar's height of Planet barcode, it has to be between 1 millimeter and 1.5 milimeters.
      void setPostnetShortBarHeight(float value)
      Deprecated. 
      Short bar's height of Postnet barcode, it has to be between 1 millimeter and 1.5 milimeter (0.04 inch and 0.06 inch).
      void setPrinterName(java.lang.String value)
      Deprecated. 
      Choose printer, if not specified, Print() method will choose the first available printer
      void setQREncodeMode(int value)
      Deprecated. 
      QR symbology type of BarCode's encoding mode, default mode is <bode>AUTO</bode>
      void setQREncodeMode(QREncodeMode value)
      Deprecated. 
      QR symbology type of BarCode's encoding mode, default mode is <bode>AUTO</bode>
      void setQRErrorLevel(int value)
      Deprecated. 
      void setQRErrorLevel(QRErrorLevel value)
      Deprecated. 
      Level of Reed-Solomon error correction for QR barcode.
      void setResolution(com.aspose.barcode.Resolution value)
      Deprecated. 
      Sets the resolution of the BarCode image see BarCode.Resolution
      void setRotationAngleF(float value)
      Deprecated. 
      BarCode image's rotation angle, measured in degree, e.g.
      void setRows(int value)
      Deprecated. 
      2D BarCode's rows, if setting is illegal then rows will be calculated automatically appliable EncodeTypes: Pdf417
      void setSize(int width, int height)
      Deprecated. 
       
      void setSupplementData(java.lang.String value)
      Deprecated. 
      Supplement data following BarCodes of symbology UPCA, UPCE, EAN13, EAN8, ISBN, Interleaved2of5 or Standard2of5.
      void setSupplementSpace(float value)
      Deprecated. 
      Space between main the BarCode and supplement BarCode, default GRAPHICS Unit: millimeter see System.Drawing.GraphicsUnit see SupplementData
      void setTextRenderingHint(com.aspose.barcode.TextRenderingHint value)
      Deprecated. 
      Specifies the quality of text rendering.
      void setWideNarrowRatio(float value)
      Deprecated. 
      Wide bars to Narrow bars ratio for some 1D BarCode.
      void setxDimension(float value)
      Deprecated. 
      x-dimension, smallest width unit of BarCode's bars or spaces.
      void setyDimension(float value)
      Deprecated. 
      y-dimension, smallest height unit of 2D BarCode's modules.
      java.lang.String toString()
      Deprecated. 
      overried to string method
      • Methods inherited from class javax.swing.JPanel

        getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
      • Methods inherited from class javax.swing.JComponent

        addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
      • Methods inherited from class java.awt.Container

        add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
      • Methods inherited from class java.awt.Component

        action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, show, show, size, transferFocus, transferFocusBackward, transferFocusUpCycle
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BarCodeControl

        public BarCodeControl()
        Deprecated. 

        Initializes a new instance of the BarCodeControl class.

      • BarCodeControl

        public BarCodeControl(java.lang.String codeText,
                              BaseEncodeType encodeType)
        Deprecated. 

        Initializes a new instance of the BarCodeControl class.

        Parameters:
        codeText - data to be encoded
        encodeType - barcode's type
      • BarCodeControl

        public BarCodeControl(java.lang.String codeText)
        Deprecated. 

        Initializes a new instance of the BarCodeControl class.

        Parameters:
        codeText - data to be encoded
    • Method Detail

      • setSize

        public void setSize(int width,
                            int height)
        Deprecated. 
        Overrides:
        setSize in class java.awt.Component
      • paintComponent

        protected void paintComponent(java.awt.Graphics g)
        Deprecated. 
        Overrides:
        paintComponent in class javax.swing.JComponent
      • getEncodeType

        public BaseEncodeType getEncodeType()
        Deprecated. 
        BarCode's encode type (symbology).
        Returns:
        returns BarCode's encode type
      • setEncodeType

        public void setEncodeType(BaseEncodeType value)
        Deprecated. 
        BarCode's encode type (symbology).
      • getCodeTextEncoding

        public java.nio.charset.Charset getCodeTextEncoding()
        Deprecated. 

        Gets a character encoding.

      • setCodeTextEncoding

        public void setCodeTextEncoding(java.nio.charset.Charset value)
        Deprecated. 

        Sets a character encoding.

      • getCodeText

        public java.lang.String getCodeText()
        Deprecated. 

        Data to be encoded, different types of BarCode may have different CodeText length restrictions See EnableEscape. See CodeTextFont. See CodeTextColor. See CodeLocation. See CodeTextSpace. See CodeTextAlignment.


          Create and save a BarCode image
          
                  com.aspose.barcode.BarCodeBuilder b = new BarCodeBuilder();
                  b.setEncodeType(EncodeTypes.CODABAR;
                  b.setCodeText("12345678");
                  b.save("test.bmp");
                  
      • setCodeText

        public void setCodeText(java.lang.String value)
        Deprecated. 

        Data to be encoded, different types of BarCode may have different CodeText length restrictions


          Create and save a BarCode image
          
                  com.aspose.barcode.BarCodeBuilder b = new BarCodeBuilder();
                  b.setEncodeType(EncodeTypes.CODABAR);
                  b.setCodeText("12345678");
                  b.save("test.bmp");
                  
      • getDisplay2DText

        public java.lang.String getDisplay2DText()
        Deprecated. 

        Gets the text will displayed on the barcode's image. Available only for 2D barcodes. Limited to 1000 chars.

        Value: The text to display.
      • setDisplay2DText

        public void setDisplay2DText(java.lang.String value)
        Deprecated. 

        Sets the text will displayed on the barcode's image. Available only for 2D barcodes. Limited to 1000 chars.

        Value: The text to display.
      • getITF14BorderType

        public ITF14BorderType getITF14BorderType()
        Deprecated. 

        Border type of ITF14 barcode, quiet zone will be determined by margin settings.

      • setITF14BorderType

        public void setITF14BorderType(ITF14BorderType value)
        Deprecated. 

        Border type of ITF14 barcode, quiet zone will be determined by margin settings.

      • setITF14BorderType

        public void setITF14BorderType(int value)
        Deprecated. 

        Border type of ITF14 barcode, quiet zone will be determined by margin settings.

      • getEnableEscape

        public boolean getEnableEscape()
        Deprecated. 

        Indicates whether explains the character "\" as an escape character in CodeText property. see CodeText <note>If the EnableEscape is true, "\" will be explained as a special escape character. Otherwise, "\" acts as normal characters.</note>


        Aspose.BarCode supports inputing decimal ascii code and mnemonic for ASCII control-code characters, 0 through 31. For example, \013 and \CR stands for CR.
      • setEnableEscape

        public void setEnableEscape(boolean value)
        Deprecated. 

        Indicates whether explains the character "\" as an escape character in CodeText property. see CodeText <note>If the EnableEscape is true, "\" will be explained as a special escape character. Otherwise, "\" acts as normal characters.</note>


        Aspose.BarCode supports inputing decimal ascii code and mnemonic for ASCII control-code characters, 0 through 31. For example, \013 and \CR stands for CR.
      • getCodeTextFont

        public java.awt.Font getCodeTextFont()
        Deprecated. 

        Specify the displaying CodeText's font
        Returns:
        CodeTextFont
      • setCodeTextFont

        public void setCodeTextFont(java.awt.Font value)
        Deprecated. 

        Specify the displaying CodeText's font
        Parameters:
        value - CodeTextFont
      • getCodeTextColor

        public java.awt.Color getCodeTextColor()
        Deprecated. 

        Specify the displaying CodeText's Color see System.Drawing.Color

      • setCodeTextColor

        public void setCodeTextColor(java.awt.Color value)
        Deprecated. 

        Specify the displaying CodeText's Color see System.Drawing.Color

      • getCodeLocation

        public CodeLocation getCodeLocation()
        Deprecated. 

        Specify the displaying CodeText's Location, set to CodeLocation.NONE to hide CodeText. CodeLocation will be ignored if SymbologyType is UPCE, UPCA, ISBN, EAN8 or EAN13 see BarCode.CodeLocation
        See Also:
        CodeLocation
      • setCodeLocation

        public void setCodeLocation(CodeLocation value)
        Deprecated. 

        Specify the displaying CodeText's Location, set to CodeLocation.NONE to hide CodeText. CodeLocation will be ignored if SymbologyType is UPCE, UPCA, ISBN, EAN8 or EAN13 see BarCode.CodeLocation
        See Also:
        CodeLocation
      • getCodeTextSpace

        public float getCodeTextSpace()
        Deprecated. 

        Space between the CodeText and the BarCode. DEFAULT GRAPHICS Unit: MILLIMETER see CodeText see CodeLocation see CodeTextFont see CodeTextColor see CodeTextAlignment

      • setCodeTextSpace

        public void setCodeTextSpace(float value)
        Deprecated. 

        Space between the CodeText and the BarCode. DEFAULT GRAPHICS Unit: MILLIMETER see CodeText see CodeLocation see CodeTextFont see CodeTextColor see CodeTextAlignment

      • getCodeTextAlignment

        public StringAlignment getCodeTextAlignment()
        Deprecated. 

        Gets the alignment of the code text. see System.Drawing.StringAlignment see see see


        StringAlignment.NEAR means CodeText will be aligned to the left StringAlignment.FAR means CodeText will be aligned to the right StringAlignment.CENTER means CodeText will be aligned to the center
      • setCodeTextAlignment

        @Deprecated
        public void setCodeTextAlignment(int value)
        Deprecated. 
        CodeTextAlignment
      • setCodeTextAlignment

        public void setCodeTextAlignment(StringAlignment value)
        Deprecated. 
        CodeTextAlignment
      • getRotationAngleF

        public float getRotationAngleF()
        Deprecated. 

        BarCode image's rotation angle, measured in degree, e.g. RotationAngleF = 0 or RotationAngleF = 360 means no rotation If RotationAngleF NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image, please set quality mode to anti-alias

      • setRotationAngleF

        public void setRotationAngleF(float value)
        Deprecated. 
        BarCode image's rotation angle, measured in degree, e.g. RotationAngleF = 0 or RotationAngleF = 360 means no rotation If RotationAngleF NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image, please set quality mode to anti-alias
      • getAutoSize

        public boolean getAutoSize()
        Deprecated. 

        Wether ajust image's size automatically. Recommended:true

      • setAutoSize

        public void setAutoSize(boolean value)
        Deprecated. 
        Sets a value indicating whether the image size is to be adjusted automatically. Recommended value is true.
      • getImageWidth

        public float getImageWidth()
        Deprecated. 

        BarCode image's width see AutoSize, if AutoSize is true, ImageWidth will be increased accordingly DEFAULT GRAPHICS Unit: MILLIMETER

      • setImageWidth

        public void setImageWidth(float value)
        Deprecated. 
        BarCode image's width.
      • getImageHeight

        public float getImageHeight()
        Deprecated. 

        BarCode image's height see AutoSize, if AutoSize is true, height will be increased accordingly DEFAULT GRAPHICS Unit: MILLIMETER

      • setImageHeight

        public void setImageHeight(float value)
        Deprecated. 

        BarCode image's height see AutoSize, if AutoSize is true, height will be increased accordingly DEFAULT GRAPHICS Unit: MILLIMETER

      • getCaptionAbove

        public Caption getCaptionAbove()
        Deprecated. 

        Caption Above the BarCode image. see Caption CaptionAbove contains the following properties: CaptionAbove.Font, CaptionAbove.ForeColor, CaptionAbove.Space, CaptionAbove.Visible, CaptionAbove.TEXT, CaptionAbove.TextAlign

      • setCaptionAbove

        public void setCaptionAbove(Caption value)
        Deprecated. 

        Caption Above the BarCode image. see Caption CaptionAbove contains the following properties: CaptionAbove.Font, CaptionAbove.ForeColor, CaptionAbove.Space, CaptionAbove.Visible, CaptionAbove.TEXT, CaptionAbove.TextAlign

      • getCaptionBelow

        public Caption getCaptionBelow()
        Deprecated. 

        Caption Below the BarCode image. see Caption CaptionBelow contains the following properties: CaptionBelow.Font, CaptionBelow.ForeColor, CaptionBelow.Space, CaptionBelow.Visible, CaptionBelow.TEXT, CaptionBelow.TextAlign

      • setCaptionBelow

        public void setCaptionBelow(Caption value)
        Deprecated. 

        Caption Below the BarCode image. see Caption CaptionBelow contains the following properties: CaptionBelow.Font, CaptionBelow.ForeColor, CaptionBelow.Space, CaptionBelow.Visible, CaptionBelow.TEXT, CaptionBelow.TextAlign

      • getGraphicsUnit

        public GraphicsUnit getGraphicsUnit()
        Deprecated. 

        Measurement of various properties such as width, height etc. DEFAULT GraphicsUnit: MILLIMETER see System.Drawing.GraphicsUnit

      • setGraphicsUnit

        public void setGraphicsUnit(GraphicsUnit value)
        Deprecated. 

        Measurement of various properties such as width, height etc. DEFAULT GraphicsUnit: MILLIMETER see System.Drawing.GraphicsUnit

      • setGraphicsUnit

        @Deprecated
        public void setGraphicsUnit(int value)
        Deprecated. 

        Measurement of various properties such as width, height etc. DEFAULT GraphicsUnit: MILLIMETER see System.Drawing.GraphicsUnit

      • getResolution

        public com.aspose.barcode.Resolution getResolution()
        Deprecated. 

        Gets the resolution of the BarCode image see BarCode.Resolution

      • setResolution

        public void setResolution(com.aspose.barcode.Resolution value)
        Deprecated. 

        Sets the resolution of the BarCode image see BarCode.Resolution

      • getBorderWidth

        public float getBorderWidth()
        Deprecated. 

        BarCode Image's border's width DEFAULT GRAPHICS Unit: MILLIMETER see BorderVisible see see

      • setBorderWidth

        public void setBorderWidth(float value)
        Deprecated. 

        BarCode Image's border's width DEFAULT GRAPHICS Unit: MILLIMETER see BorderVisible see see

      • getBorderVisible

        public boolean getBorderVisible()
        Deprecated. 

        wether BarCode Image's border is visible see BorderWidth see see

      • setBorderVisible

        public void setBorderVisible(boolean value)
        Deprecated. 

        wether BarCode Image's border is visible see BorderWidth see see

      • getBorderColor

        public java.awt.Color getBorderColor()
        Deprecated. 

        BarCode Image's border's color see System.Drawing.Color see BorderWidth see BorderVisible see BorderDashStyle

        Returns:
        borderColor
      • setBorderColor

        public void setBorderColor(java.awt.Color value)
        Deprecated. 

        BarCode Image's border's color see System.Drawing.Color see BorderWidth see BorderVisible see BorderDashStyle

      • getBorderDashStyle

        public BorderDashStyle getBorderDashStyle()
        Deprecated. 

        BarCode Image's border's style see BarCode.BorderDashStyle see BorderWidth see BorderVisible see BorderColor

      • setBorderDashStyle

        @Deprecated
        public void setBorderDashStyle(int value)
        Deprecated. 

        BarCode Image's border's style see BarCode.BorderDashStyle see BorderWidth see BorderVisible see BorderColor

      • setBorderDashStyle

        public void setBorderDashStyle(BorderDashStyle value)
        Deprecated. 

        BarCode Image's border's style see BarCode.BorderDashStyle see BorderWidth see BorderVisible see BorderColor

      • getCodabarStartSymbol

        public short getCodabarStartSymbol()
        Deprecated. 

        Start symbol (character) of codabar symbology see CodabarStopSymbol see CodabarSymbol

      • setCodabarStartSymbol

        public void setCodabarStartSymbol(short value)
        Deprecated. 

        Start symbol (character) of codabar symbology see CodabarStopSymbol see CodabarSymbol

      • getCodabarStopSymbol

        public short getCodabarStopSymbol()
        Deprecated. 

        Stop symbol (character) of codabar symbology see CodabarStartSymbol see CodabarSymbol

      • setCodabarStopSymbol

        public void setCodabarStopSymbol(short value)
        Deprecated. 

        Stop symbol (character) of codabar symbology see CodabarStartSymbol see CodabarSymbol

      • getxDimension

        public float getxDimension()
        Deprecated. 

        x-dimension, smallest width unit of BarCode's bars or spaces. increase this will increase the whole barcode image's width if AutoSize is true DEFAULT GRAPHICS Unit: MILLIMETER see yDimension see AutoSize see BarHeight

      • setxDimension

        public void setxDimension(float value)
        Deprecated. 

        x-dimension, smallest width unit of BarCode's bars or spaces. increase this will increase the whole barcode image's width if AutoSize is true DEFAULT GRAPHICS Unit: MILLIMETER see yDimension see AutoSize see BarHeight

      • getyDimension

        public float getyDimension()
        Deprecated. 

        y-dimension, smallest height unit of 2D BarCode's modules. Some square symbols (such as DataMatrix) may ignore this and use x-dimension for both width unit and height unit In 2D barcode, y-dimension * rows determines BarCode's height In 1D barcode, BarHeight determines BarCode's height. DEFAULT GRAPHICS Unit: MILLIMETER see xDimension see BarHeight

      • setyDimension

        public void setyDimension(float value)
        Deprecated. 

        y-dimension, smallest height unit of 2D BarCode's modules. Some square symbols (such as DataMatrix) may ignore this and use x-dimension for both width unit and height unit In 2D barcode, y-dimension * rows determines BarCode's height In 1D barcode, BarHeight determines BarCode's height. DEFAULT GRAPHICS Unit: MILLIMETER see xDimension see BarHeight

      • getBarHeight

        public float getBarHeight()
        Deprecated. 

        height of 1D barcodes' bars. In 2D barcode, y-dimension * rows determines BarCode's height In 1D barcode, BarHeight determines BarCode's height. DEFAULT GRAPHICS Unit: MILLIMETER see yDimension

      • setBarHeight

        public void setBarHeight(float value)
        Deprecated. 

        height of 1D barcodes' bars. In 2D barcode, y-dimension * rows determines BarCode's height In 1D barcode, BarHeight determines BarCode's height. DEFAULT GRAPHICS Unit: MILLIMETER see yDimension

      • getForeColor

        public java.awt.Color getForeColor()
        Deprecated. 

        Foreground color of the barcode image, that is, BAR's color of 1D barcode, Module's color of 2D barcode see System.Drawing.Color

      • setForeColor

        public void setForeColor(java.awt.Color value)
        Deprecated. 

        Foreground color of the barcode image, that is, BAR's color of 1D barcode, Module's color of 2D barcode see System.Drawing.Color

      • getBackColor

        public java.awt.Color getBackColor()
        Deprecated. 

        Background color of the barcode image see System.Drawing.Color

      • setBackColor

        public void setBackColor(java.awt.Color value)
        Deprecated. 

        Background color of the barcode image see System.Drawing.Color

      • getEnableChecksum

        public EnableChecksum getEnableChecksum()
        Deprecated. 

        Enable checksum during generation for 1D barcodes.

        DEFAULT is treated as YES for symbologies which must contain checksum, as NO where checksum only possible.

        Checksum never used: Codabar

        Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN

        Checksum always used: Rest symbologies

      • setEnableChecksum

        public void setEnableChecksum(EnableChecksum value)
        Deprecated. 

        Enable checksum during generation for 1D barcodes.

        DEFAULT is treated as YES for symbologies which must contain checksum, as NO where checksum only possible.

        Checksum never used: Codabar

        Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN

        Checksum always used: Rest symbologies

      • setEnableChecksum

        @Deprecated
        public void setEnableChecksum(int value)
        Deprecated. 

        Enable checksum during generation for 1D barcodes.

        DEFAULT is treated as YES for symbologies which must contain checksum, as NO where checksum only possible.

        Checksum never used: Codabar

        Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN

        Checksum always used: Rest symbologies

      • getCustomerInformationInterpretingType

        public CustomerInformationInterpretingType getCustomerInformationInterpretingType()
        Deprecated. 

        Interpreting type for the Customer Information of AustralianPost, default to CustomerInformationInterpretingType.OTHER" See BarCode.CustomerInformationInterpretingType.

      • setCustomerInformationInterpretingType

        @Deprecated
        public void setCustomerInformationInterpretingType(int value)
        Deprecated. 

        Interpreting type for the Customer Information of AustralianPost, default to CustomerInformationInterpretingType.OTHER" See BarCode.CustomerInformationInterpretingType.

      • setCustomerInformationInterpretingType

        public void setCustomerInformationInterpretingType(CustomerInformationInterpretingType value)
        Deprecated. 

        Interpreting type for the Customer Information of AustralianPost, default to CustomerInformationInterpretingType.OTHER" See BarCode.CustomerInformationInterpretingType.

      • getAspectRatio

        public float getAspectRatio()
        Deprecated. 

        2D BarCode's module's height/width ratio (yDimension/xDimension). calculated based on xDimension set to 0 means not using this feature. see xDimension see yDimension


        Some 2D BarCodes are square shaped, then AspectRatio is not appliable
      • setAspectRatio

        public void setAspectRatio(float value)
        Deprecated. 

        2D BarCode's module's height/width ratio (yDimension/xDimension). calculated based on xDimension set to 0 means not using this feature. see xDimension see yDimension


        Some 2D BarCodes are square shaped, then AspectRatio is not appliable
      • getColumns

        public int getColumns()
        Deprecated. 

        2D BarCode's columns, if setting is illegal then columns will be calculated automatically appliable EncodeTypes: Pdf417

      • setColumns

        public void setColumns(int value)
        Deprecated. 

        2D BarCode's columns, if setting is illegal then columns will be calculated automatically appliable EncodeTypes: Pdf417

      • getRows

        public int getRows()
        Deprecated. 

        2D BarCode's rows, if setting is illegal then rows will be calculated automatically appliable EncodeTypes: Pdf417

      • setRows

        public void setRows(int value)
        Deprecated. 

        2D BarCode's rows, if setting is illegal then rows will be calculated automatically appliable EncodeTypes: Pdf417

      • getDataMatrixEncodeMode

        public DataMatrixEncodeMode getDataMatrixEncodeMode()
        Deprecated. 

        Encode mode of Datamatrix barcode, default to AUTO see BarCode.DataMatrixEncodeModeDataMatrixEncodeMode .

      • setDataMatrixEncodeMode

        public void setDataMatrixEncodeMode(DataMatrixEncodeMode value)
        Deprecated. 

        Encode mode of Datamatrix barcode, default to AUTO see BarCode.DataMatrixEncodeModeDataMatrixEncodeMode .

      • setDataMatrixEncodeMode

        @Deprecated
        public void setDataMatrixEncodeMode(int value)
        Deprecated. 

        Encode mode of Datamatrix barcode, default to AUTO see BarCode.DataMatrixEncodeModeDataMatrixEncodeMode .

      • getPdf417CompactionMode

        public Pdf417CompactionMode getPdf417CompactionMode()
        Deprecated. 

        Pdf417 symbology type of BarCode's compaction mode, default compaction mode is <bode>AUTO</bode> see BarCode.Pdf417CompactionMode

      • setPdf417CompactionMode

        public void setPdf417CompactionMode(int value)
        Deprecated. 

        Pdf417 symbology type of BarCode's compaction mode, default compaction mode is <bode>AUTO</bode> see BarCode.Pdf417CompactionMode

      • setPdf417CompactionMode

        public void setPdf417CompactionMode(Pdf417CompactionMode value)
        Deprecated. 

        Pdf417 symbology type of BarCode's compaction mode, default compaction mode is <bode>AUTO</bode> see BarCode.Pdf417CompactionMode

      • getPdf417Truncate

        public boolean getPdf417Truncate()
        Deprecated. 

        whether pdf417 symbology type of BarCode is truncated (to reduce space)

      • setPdf417Truncate

        public void setPdf417Truncate(boolean value)
        Deprecated. 

        whether pdf417 symbology type of BarCode is truncated (to reduce space)

      • getPdf417ErrorLevel

        public Pdf417ErrorLevel getPdf417ErrorLevel()
        Deprecated. 

        Gets Pdf417 symbology type of BarCode's error coccrection level ranging from level0 to level9, level0 means no error correction info, level9 means best error correction which means a larger picture

      • setPdf417ErrorLevel

        public void setPdf417ErrorLevel(Pdf417ErrorLevel value)
        Deprecated. 

        Sets Pdf417 symbology type of BarCode's error coccrection level ranging from level0 to level9, level0 means no error correction info, level9 means best error correction which means a larger picture

      • setPdf417ErrorLevel

        public void setPdf417ErrorLevel(int value)
        Deprecated. 

        Sets Pdf417 symbology type of BarCode's error coccrection level ranging from level0 to level9, level0 means no error correction info, level9 means best error correction which means a larger picture

      • getMacroPdf417SegmentsCount

        public int getMacroPdf417SegmentsCount()
        Deprecated. 

        Gets macro pdf417 barcode segments count.

      • setMacroPdf417SegmentsCount

        public void setMacroPdf417SegmentsCount(int value)
        Deprecated. 

        Sets macro pdf417 barcode segments count.

      • getMacroPdf417SegmentID

        public int getMacroPdf417SegmentID()
        Deprecated. 

        Gets macro pdf417 barcode's segment ID, which starts from 0, to MacroPdf417SegmentCount - 1.

      • setMacroPdf417SegmentID

        public void setMacroPdf417SegmentID(int value)
        Deprecated. 

        Sets macro pdf417 barcode's segment ID, which starts from 0, to MacroPdf417SegmentCount - 1.

      • getMacroPdf417FileID

        public int getMacroPdf417FileID()
        Deprecated. 

        Gets macro pdf417 barcode's file ID.

      • setMacroPdf417FileID

        public void setMacroPdf417FileID(int value)
        Deprecated. 

        Sets macro pdf417 barcode's file ID.

      • getWideNarrowRatio

        public float getWideNarrowRatio()
        Deprecated. 

        Wide bars to Narrow bars ratio for some 1D BarCode. DEFAULT WideNarrowRatio:3, that is, wide bars are 3 times as wide as narrow bars Appliable symbology: Code39Extended, Code39Standard, Standard2of5, Interleaved2of5 see EncodeTypes

      • setWideNarrowRatio

        public void setWideNarrowRatio(float value)
        Deprecated. 

        Wide bars to Narrow bars ratio for some 1D BarCode. DEFAULT WideNarrowRatio:3, that is, wide bars are 3 times as wide as narrow bars Appliable symbology: Code39Extended, Code39Standard, Standard2of5, Interleaved2of5 see EncodeTypes

      • getMargins

        public com.aspose.barcode.MarginsF getMargins()
        Deprecated. 

        Margin area around the core BarCode image If AutoSize is false, then width and height is fixed, thus Margins setting will be ignored DEFAULT GRAPHICS Unit: MILLIMETER

      • setMargins

        public void setMargins(com.aspose.barcode.MarginsF value)
        Deprecated. 

        Margin area around the core BarCode image If AutoSize is false, then width and height is fixed, thus Margins setting will be ignored DEFAULT GRAPHICS Unit: MILLIMETER

      • getSupplementData

        public java.lang.String getSupplementData()
        Deprecated. 

        Supplement data following BarCodes of symbology UPCA, UPCE, EAN13, EAN8, ISBN, Interleaved2of5 or Standard2of5. see EncodeTypes see SupplementSpace

      • setSupplementData

        public void setSupplementData(java.lang.String value)
        Deprecated. 

        Supplement data following BarCodes of symbology UPCA, UPCE, EAN13, EAN8, ISBN, Interleaved2of5 or Standard2of5. see EncodeTypes see SupplementSpace

      • getSupplementSpace

        public float getSupplementSpace()
        Deprecated. 

        Space between main the BarCode and supplement BarCode, default GRAPHICS Unit: millimeter see System.Drawing.GraphicsUnit see SupplementData

      • setSupplementSpace

        public void setSupplementSpace(float value)
        Deprecated. 

        Space between main the BarCode and supplement BarCode, default GRAPHICS Unit: millimeter see System.Drawing.GraphicsUnit see SupplementData

      • getPrinterName

        public java.lang.String getPrinterName()
        Deprecated. 

        Choose printer, if not specified, Print() method will choose the first available printer

      • setPrinterName

        public void setPrinterName(java.lang.String value)
        Deprecated. 

        Choose printer, if not specified, Print() method will choose the first available printer

      • getImageQuality

        public com.aspose.barcode.ImageQualityMode getImageQuality()
        Deprecated. 

        GRAPHICS quality mode, when RotationAngleF not equal to 0, 90, 180 or 270, do set quality mode to anti-alias. Type: Aspose.BarCode.ImageQualityMode see ImageQualityMode

      • setImageQuality

        public void setImageQuality(com.aspose.barcode.ImageQualityMode value)
        Deprecated. 

        GRAPHICS quality mode, when RotationAngleF not equal to 0, 90, 180 or 270, do set quality mode to anti-alias. Type: Aspose.BarCode.ImageQualityMode see ImageQualityMode

      • setImageQuality

        @Deprecated
        public void setImageQuality(int value)
        Deprecated. 

        GRAPHICS quality mode, when RotationAngleF not equal to 0, 90, 180 or 270, do set quality mode to anti-alias. Type: Aspose.BarCode.ImageQualityMode see ImageQualityMode

      • getTextRenderingHint

        public com.aspose.barcode.TextRenderingHint getTextRenderingHint()
        Deprecated. 

        Specifies the quality of text rendering.

      • setTextRenderingHint

        public void setTextRenderingHint(com.aspose.barcode.TextRenderingHint value)
        Deprecated. 

        Specifies the quality of text rendering.

      • getQRErrorLevel

        public QRErrorLevel getQRErrorLevel()
        Deprecated. 

        Level of Reed-Solomon error correction for QR barcode. From low to high: LEVEL_L, LEVEL_M, LEVEL_Q, LEVEL_H. see BarCode.QRErrorLevelQRErrorLevel.

      • setQRErrorLevel

        public void setQRErrorLevel(QRErrorLevel value)
        Deprecated. 

        Level of Reed-Solomon error correction for QR barcode. From low to high: LEVEL_L, LEVEL_M, LEVEL_Q, LEVEL_H. see BarCode.QRErrorLevelQRErrorLevel.

      • setQRErrorLevel

        @Deprecated
        public void setQRErrorLevel(int value)
        Deprecated. 

        Level of Reed-Solomon error correction for QR barcode. From low to high: LEVEL_L, LEVEL_M, LEVEL_Q, LEVEL_H. see BarCode.QRErrorLevelQRErrorLevel.

      • getQREncodeMode

        public QREncodeMode getQREncodeMode()
        Deprecated. 

        QR symbology type of BarCode's encoding mode, default mode is <bode>AUTO</bode>

      • setQREncodeMode

        public void setQREncodeMode(QREncodeMode value)
        Deprecated. 

        QR symbology type of BarCode's encoding mode, default mode is <bode>AUTO</bode>

      • setQREncodeMode

        public void setQREncodeMode(int value)
        Deprecated. 

        QR symbology type of BarCode's encoding mode, default mode is <bode>AUTO</bode>

      • rotate

        public void rotate()
        Deprecated. 

        Rotate barcode image clockwise for 90 degrees

      • rotate

        public void rotate(float angle)
        Deprecated. 

        Rotate barcode image clockwise

        Parameters:
        angle - Rotation Angle
      • rotate

        public void rotate(com.aspose.barcode.RotationDirection direction,
                           float angle)
        Deprecated. 

        Rotate the barcode image

        Parameters:
        direction - rotation direction
        angle - rotation angle
      • rotate

        @Deprecated
        public void rotate(int direction,
                                        float angle)
        Deprecated. 

        Rotate the barcode image

        Parameters:
        direction - rotation direction
        angle - rotation angle
      • save

        public void save(java.lang.String filename)
        Deprecated. 

        Save BarCodeImage to specific file in specific format

        Parameters:
        filename - save to this file path
      • save

        public void save(java.io.OutputStream stream,
                         BarCodeImageFormat format)
                  throws java.io.IOException
        Deprecated. 

        Save BarCodeImage to specific file in specific format

        Parameters:
        stream - OutputStream
        format - BarCodeImageFormat
        Throws:
        java.io.IOException
      • save

        public void save(java.lang.String filename,
                         BarCodeImageFormat format)
                  throws java.io.IOException
        Deprecated. 

        Save BarCodeImage to specific file in specific format

        Parameters:
        filename - save to this file path
        format - BarCodeImageFormat
        Throws:
        java.io.IOException
      • print

        public void print()
                   throws javax.print.PrintException
        Deprecated. 

        Print BarCodeImage see PrinterName

        Throws:
        javax.print.PrintException
      • getBarCodeImage

        public java.awt.image.BufferedImage getBarCodeImage()
        Deprecated. 

        Gets the BarCode Image. Type:Bitmap

      • getPostnetShortBarHeight

        public float getPostnetShortBarHeight()
        Deprecated. 

        Short bar's height of Postnet barcode, it has to be between 1 millimeter and 1.5 milimeter (0.04 inch and 0.06 inch). To set up tall bar's height, see BarHeight, which has to be between 8.28 milimeter and 9.72 milimeter (0.115 inch and 0.135 inch) see changing see System.Drawing.GraphicsUnitGraphicsUnit. see setting tall bar's height: see BarHeightBarHeight.

      • setPostnetShortBarHeight

        public void setPostnetShortBarHeight(float value)
        Deprecated. 

        Short bar's height of Postnet barcode, it has to be between 1 millimeter and 1.5 milimeter (0.04 inch and 0.06 inch). To set up tall bar's height, see BarHeight, which has to be between 8.28 milimeter and 9.72 milimeter (0.115 inch and 0.135 inch) see changing see System.Drawing.GraphicsUnitGraphicsUnit. see setting tall bar's height: see BarHeightBarHeight.

      • getPlanetShortBarHeight

        public float getPlanetShortBarHeight()
        Deprecated. 

        Short bar's height of Planet barcode, it has to be between 1 millimeter and 1.5 milimeters. see changing see System.Drawing.GraphicsUnitGraphicsUnit. see setting tall bar's height: see BarHeightBarHeight.

      • setPlanetShortBarHeight

        public void setPlanetShortBarHeight(float value)
        Deprecated. 

        Short bar's height of Planet barcode, it has to be between 1 millimeter and 1.5 milimeters. see changing see System.Drawing.GraphicsUnitGraphicsUnit. see setting tall bar's height: see BarHeightBarHeight.

      • getAztectErrorLevel

        public int getAztectErrorLevel()
        Deprecated. 

        Level of error corection of Aztect types of barcode. value should between 10 to 95

      • setAztectErrorLevel

        public void setAztectErrorLevel(int value)
        Deprecated. 

        Level of error corection of Aztect types of barcode. value should between 10 to 95

      • toString

        public java.lang.String toString()
        Deprecated. 

        overried to string method

        Overrides:
        toString in class java.awt.Component
        Returns:
        BarCode: EncodeTypes: CodeText