BarcodeControl ClassByteScout Barcode SDK
Barcode control that allows to generate/draw/save barcodes.
Inheritance Hierarchy

SystemObject
  SystemMarshalByRefObject
    System.ComponentModelComponent
      System.Windows.FormsControl
        System.Windows.FormsScrollableControl
          System.Windows.FormsContainerControl
            System.Windows.FormsUserControl
              Bytescout.BarCodeBarcodeControl

Namespace:  Bytescout.BarCode
Assembly:  Bytescout.BarCode.WinForms (in Bytescout.BarCode.WinForms.dll) Version: 7.3.1.1185-master
Syntax

public class BarcodeControl : UserControl, 
	IBarcode, IBarCodeContainer

The BarcodeControl type exposes the following members.

Constructors

  NameDescription
Public methodBarcodeControl
Initializes a new instance of the BarcodeControl class.
Top
Properties

  NameDescription
Public propertyAccessibilityObject (Inherited from Control.)
Public propertyAccessibleDefaultActionDescription (Inherited from Control.)
Public propertyAccessibleDescription (Inherited from Control.)
Public propertyAccessibleName (Inherited from Control.)
Public propertyAccessibleRole (Inherited from Control.)
Public propertyActiveControl (Inherited from ContainerControl.)
Public propertyAddChecksum
Gets or sets a value indicating whether checksum should be added to barcode.
Public propertyAddChecksumToCaption
Gets or sets a value indicating whether checksum should be added to barcode caption.
Public propertyAdditionalCaption
Gets or sets the additional barcode caption text to draw.
Public propertyAdditionalCaptionAlignment
Gets or sets text alignment of the additional barcode caption.
Public propertyAdditionalCaptionFont
Gets or sets the font of the additional barcode caption.
Public propertyAdditionalCaptionPosition
Gets or sets the position of the additional caption.
Public propertyAllowDrop (Inherited from Control.)
Public propertyAnchor (Inherited from Control.)
Public propertyAngle
Gets or sets the barcode rotation angle in degrees.
Public propertyAutoFitToControlSize
Public propertyAutoScaleDimensions (Inherited from ContainerControl.)
Protected propertyAutoScaleFactor (Inherited from ContainerControl.)
Public propertyAutoScaleMode (Inherited from ContainerControl.)
Public propertyAutoScroll (Inherited from ScrollableControl.)
Public propertyAutoScrollMargin (Inherited from ScrollableControl.)
Public propertyAutoScrollMinSize (Inherited from ScrollableControl.)
Public propertyAutoScrollOffset (Inherited from Control.)
Public propertyAutoScrollPosition (Inherited from ScrollableControl.)
Public propertyAutoSize (Inherited from UserControl.)
Public propertyAutoSizeMode (Inherited from UserControl.)
Public propertyAutoValidate (Inherited from UserControl.)
Public propertyBackColor
Gets or sets the color used to draw the barcode background.
(Overrides ControlBackColor.)
Public propertyBackgroundImage (Inherited from Control.)
Public propertyBackgroundImageLayout (Inherited from Control.)
Public propertyBarHeight
Gets or sets the height of the barcode bars in pixels.
Public propertyBindingContext (Inherited from ContainerControl.)
Public propertyBorderStyle (Inherited from UserControl.)
Public propertyBottom (Inherited from Control.)
Public propertyBounds (Inherited from Control.)
Protected propertyCanEnableIme (Inherited from ContainerControl.)
Public propertyCanFocus (Inherited from Control.)
Protected propertyCanRaiseEvents (Inherited from Control.)
Public propertyCanSelect (Inherited from Control.)
Public propertyCaption
Gets or sets the barcode caption (by default this is encoded value).
Public propertyCaptionAlignment
Gets or sets the alignment of barcode caption text.
Public propertyCaptionFont
Gets or sets the font of the barcode caption.
Public propertyCaptionPosition
Gets or sets the position of the barcode caption.
Public propertyCapture (Inherited from Control.)
Public propertyCausesValidation (Inherited from Control.)
Public propertyClientRectangle (Inherited from Control.)
Public propertyClientSize (Inherited from Control.)
Public propertyCompanyName (Inherited from Control.)
Public propertyContainer (Inherited from Component.)
Public propertyContainsFocus (Inherited from Control.)
Public propertyContextMenu (Inherited from Control.)
Public propertyContextMenuStrip (Inherited from Control.)
Public propertyControls (Inherited from Control.)
Public propertyCreated (Inherited from Control.)
Protected propertyCreateParams (Inherited from UserControl.)
Public propertyCurrentAutoScaleDimensions (Inherited from ContainerControl.)
Public propertyCursor (Inherited from Control.)
Public propertyCutUnusedSpace
Gets or sets a value indicating whether unused space should be cut when drawing or saving barcode images. Unused space is usually a result of calling one of FitInto methods with size greater then needed to draw barcode.
Public propertyDataBindings (Inherited from Control.)
Protected propertyDefaultCursor (Inherited from Control.)
Protected propertyDefaultImeMode (Inherited from Control.)
Protected propertyDefaultMargin (Inherited from Control.)
Protected propertyDefaultMaximumSize (Inherited from Control.)
Protected propertyDefaultMinimumSize (Inherited from Control.)
Protected propertyDefaultPadding (Inherited from Control.)
Protected propertyDefaultSize (Inherited from UserControl.)
Protected propertyDesignMode (Inherited from Component.)
Public propertyDisplayRectangle (Inherited from ScrollableControl.)
Public propertyDisposing (Inherited from Control.)
Public propertyDock (Inherited from Control.)
Public propertyDockPadding (Inherited from ScrollableControl.)
Protected propertyDoubleBuffered (Inherited from Control.)
Public propertyDrawCaption
Gets or sets a value indicating whether to draw the barcode encoded value.
Public propertyDrawCaptionFor2DBarcodes
Gets or sets a value indicating whether to draw the barcode encoded value for 2D barcodes.
Public propertyDrawQuietZones
Gets or sets a value indicating whether to draw quite zones when barcode type supposes such zones.
Public propertyEnabled (Inherited from Control.)
Protected propertyEvents (Inherited from Component.)
Public propertyFocused (Inherited from Control.)
Public propertyFont (Inherited from Control.)
Protected propertyFontHeight (Inherited from Control.)
Public propertyForeColor
Gets or sets the color used to draw the barcode bars and caption(s).
(Overrides ControlForeColor.)
Public propertyHandle (Inherited from Control.)
Public propertyHasChildren (Inherited from Control.)
Public propertyHeight (Inherited from Control.)
Public propertyHorizontalAlignment
Gets or sets the horizontal alignment of the barcode within the container.
Public propertyHorizontalScroll (Inherited from ScrollableControl.)
Protected propertyHScroll (Inherited from ScrollableControl.)
Public propertyImeMode (Inherited from Control.)
Protected propertyImeModeBase (Inherited from Control.)
Public propertyInvokeRequired (Inherited from Control.)
Public propertyIsAccessible (Inherited from Control.)
Public propertyIsDisposed (Inherited from Control.)
Public propertyIsHandleCreated (Inherited from Control.)
Public propertyIsMirrored (Inherited from Control.)
Public propertyLayoutEngine (Inherited from Control.)
Public propertyLeft (Inherited from Control.)
Public propertyLicenseInfo
Gets license information.
Public propertyLocation (Inherited from Control.)
Public propertyMargin (Inherited from Control.)
Public propertyMargins
Gets or sets the barcode margins in pixels.
Public propertyMaximumSize (Inherited from Control.)
Public propertyMinimumSize (Inherited from Control.)
Public propertyName (Inherited from Control.)
Public propertyNarrowBarWidth
Gets or sets the width of the narrow bar in pixels.
Public propertyOptions
Gets or sets the barcode symbology specific options.
Public propertyPadding (Inherited from Control.)
Public propertyParent (Inherited from Control.)
Public propertyParentForm (Inherited from ContainerControl.)
Public propertyPreferredSize (Inherited from Control.)
Public propertyPreserveMinReadableSize
Gets or sets a value indicating whether to check output size so it's not less than barcode size. Use FitInto() method to fit barcode into a given physical size.
Public propertyProduceMonochromeImages
Gets or sets a value indicating whether the component should produce monochrome (1-bit, black and white) images.
Public propertyProductName (Inherited from Control.)
Public propertyProductVersion (Inherited from Control.)
Public propertyProfiles
Public propertyRecreatingHandle (Inherited from Control.)
Public propertyRegion (Inherited from Control.)
Public propertyRegistrationKey
Gets or sets the key number part of registration information.
Public propertyRegistrationName
Gets or sets the name part of the registration information.
Public propertyRenderingHint
Gets or sets the text rendering quality.
Protected propertyRenderRightToLeft Obsolete. (Inherited from Control.)
Protected propertyResizeRedraw (Inherited from Control.)
Public propertyResolutionX
Gets or sets the horizontal resolution of barcode.
Public propertyResolutionY
Gets or sets the vertical resolution of barcode.
Public propertyRight (Inherited from Control.)
Public propertyRightToLeft (Inherited from Control.)
Public propertyRoundDots
Sets whether to generate barcodes with round dots. Works only for QR Code, DataMatrix, and Aztec barcode types.
Protected propertyScaleChildren (Inherited from Control.)
Protected propertyShowFocusCues (Inherited from Control.)
Protected propertyShowKeyboardCues (Inherited from Control.)
Public propertySite (Inherited from Control.)
Public propertySize (Inherited from Control.)
Public propertySmoothingMode
Gets or sets the barcode rendering quality.
Public propertySupplementValue
Gets or sets the supplementary barcode value to encode (used with EAN-13, ISBN and UPC-A barcodes).
Public propertySymbology
Gets or sets the barcode symbology type.
Public propertyTabIndex (Inherited from Control.)
Public propertyTabStop (Inherited from Control.)
Public propertyTag (Inherited from Control.)
Public propertyText (Inherited from UserControl.)
Public propertyTop (Inherited from Control.)
Public propertyTopLevelControl (Inherited from Control.)
Public propertyUseWaitCursor (Inherited from Control.)
Public propertyValue
Gets or sets the barcode value to encode.
Public propertyVersion
Gets the component version number.
Public propertyVerticalAlignment
Gets or sets the vertical alignment of the barcode within the container.
Public propertyVerticalScroll (Inherited from ScrollableControl.)
Public propertyVisible (Inherited from Control.)
Protected propertyVScroll (Inherited from ScrollableControl.)
Public propertyWideToNarrowRatio
Gets or sets the width of the wide bar relative to the narrow bar.
Public propertyWidth (Inherited from Control.)
Public propertyWindowTarget (Inherited from Control.)
Top
Methods

  NameDescription
Protected methodAccessibilityNotifyClients(AccessibleEvents, Int32) (Inherited from Control.)
Protected methodAccessibilityNotifyClients(AccessibleEvents, Int32, Int32) (Inherited from Control.)
Public methodAddDecorationImage(Image, Int32)
Add decorative image to draw in the center of the barcode. (!) Supported with QR Code only.
Public methodAddDecorationImage(String, Int32)
Add decorative image to draw in the center of the barcode. (!) Supported with QR Code only.
Protected methodAdjustFormScrollbars (Inherited from ContainerControl.)
Protected methodBarcodeChanged
Handles changes in barcodes.
Public methodBeginInvoke(Delegate) (Inherited from Control.)
Public methodBeginInvoke(Delegate, Object) (Inherited from Control.)
Public methodBringToFront (Inherited from Control.)
Public methodContains (Inherited from Control.)
Protected methodCreateAccessibilityInstance (Inherited from Control.)
Public methodCreateControl (Inherited from Control.)
Protected methodCreateControlsInstance (Inherited from Control.)
Public methodCreateGraphics (Inherited from Control.)
Protected methodCreateHandle (Inherited from Control.)
Public methodCreateObjRef (Inherited from MarshalByRefObject.)
Public methodCreateProfile(String)
Public methodCreateProfile(String, String)
Protected methodDefWndProc (Inherited from Control.)
Protected methodDestroyHandle (Inherited from Control.)
Public methodDispose (Inherited from Component.)
Protected methodDispose(Boolean)
Clean up any resources being used.
(Overrides ContainerControlDispose(Boolean).)
Public methodDoDragDrop (Inherited from Control.)
Public methodDraw(Graphics, Point)
Draws the barcode on Graphics canvas object.
Public methodDraw(Graphics, Single, Single, UnitOfMeasure)
Draws the barcode.
Public methodDrawHDC(IntPtr, Int32, Int32)
Draws the barcode on HDC canvas object.
Public methodDrawHDC(IntPtr, Single, Single, UnitOfMeasure)
Draws the barcode on HDC graphics context.
Public methodDrawImagesToPDF(Stream, Stream, DrawImagesToPDFCallback)
Utility method allowing to draw any image on specified page of PDF document.
Public methodDrawImagesToPDF(String, String, DrawImagesToPDFCallback)
Utility method allowing to draw any image on specified page of PDF document.
Public methodDrawImagesToPDF(Stream, Int32, Image, Point, Stream)
Utility method allowing to draw any image on specified page of PDF document.
Public methodDrawImagesToPDF(String, Int32, Image, Point, String)
Utility method allowing to draw any image on specified page of PDF document.
Public methodDrawImagesToPDF(Stream, Int32, Image, Point, Stream, String)
Utility method allowing to draw any image on specified page of PDF document.
Public methodDrawImagesToPDF(String, Int32, Image, Point, String, String)
Utility method allowing to draw any image on specified page of PDF document.
Public methodDrawToBitmap (Inherited from Control.)
Public methodDrawToImage(Stream, Int32, Int32, Int32, Stream)
Draws barcode to image at specified coordinates.
Public methodDrawToImage(String, Int32, Int32, Int32, String)
Draws barcode to image at specified coordinates.
Public methodDrawToNewPDF(String)
Creates new PDF document and draws barcode on it.
Public methodDrawToNewPDF(String, Int32, Int32, Int32, Int32)
Creates new PDF document and draws barcode on it.
Public methodDrawToPDF(Stream, Int32, Int32, Int32, Stream)
Draws barcode on specified page of PDF document.
Public methodDrawToPDF(String, Int32, Int32, Int32, String)
Draws barcode on specified page of PDF document.
Public methodEndInvoke (Inherited from Control.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Component.)
Public methodFindForm (Inherited from Control.)
Public methodFitInto(Size)
IMPORTANT: Call this method AFTER setting the barcode value. Fits the barcode into the area of size specified in pixels. Calling this method will change output size of the barcode. Barcode size will be increased in order to occupy all of the area.
Public methodFitInto(SizeF, UnitOfMeasure)
IMPORTANT: Call this method AFTER setting the barcode value. Fits the barcode into the area of size specified in units. Calling this method will change output size of the barcode. Barcode size will be increased in order to occupy all of the area.
Public methodFitInto(Int32, Int32)
IMPORTANT: Call this method AFTER setting the barcode value. Fits the barcode into the area of size specified in pixels. Calling this method will change output size of the barcode. Barcode size will be increased in order to occupy all of the area.
Public methodFitInto(Single, Single, UnitOfMeasure)
IMPORTANT: Call this method AFTER setting the barcode value. Fits the barcode into the area of size specified in units. Calling this method will change output size of the barcode. Barcode size will be increased in order to occupy all of the area.
Public methodFocus (Inherited from Control.)
Protected methodGetAccessibilityObjectById (Inherited from Control.)
Protected methodGetAutoSizeMode (Inherited from Control.)
Public methodGetBarHeight
Returns the height of the barcode bars in specified units.
Public methodGetChildAtPoint(Point) (Inherited from Control.)
Public methodGetChildAtPoint(Point, GetChildAtPointSkip) (Inherited from Control.)
Public methodGetContainerControl (Inherited from Control.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetImage
Gets the Image object with the barcode.
Public methodGetImageBytes
Returns the barcode image as byte array.
Public methodGetImageBytesEMF
Returns the barcode image in EMF format as byte array.
Public methodGetImageBytesGIF
Returns the barcode image in GIF format as byte array.
Public methodGetImageBytesJPG
Returns the barcode image in JPEG format as byte array.
Public methodGetImageBytesPNG
Returns the barcode image in PNG format as byte array.
Public methodGetImageBytesTIFF
Returns the barcode image in TIFF format as byte array.
Public methodGetImageBytesWMF
Returns the barcode image in WMF format as byte array.
Public methodGetLifetimeService (Inherited from MarshalByRefObject.)
Public methodGetMarginBottom
Retrieves the bottom barcode margin value in specified units.
Public methodGetMarginLeft
Returns the left barcode margin value in specified units.
Public methodGetMarginRight
Returns the right barcode margin value in specified units.
Public methodGetMargins
Returns the barcode margins in specified units.
Public methodGetMarginTop
Returns the top barcode margin value in specified units.
Public methodGetMinimalHeight
Returns the height in specified units of the smallest rectangle that can accommodate the barcode.
Public methodGetMinimalSize
Gets or sets the size of the smallest rectangle in pixels that can accommodate the barcode.
Public methodGetMinimalSize(UnitOfMeasure)
Returns the size in specified units of the smallest rectangle that can accommodate the barcode.
Public methodGetMinimalWidth
Returns the width in specified units of the smallest rectangle that can accommodate the barcode.
Public methodGetNarrowBarWidth
Retrieves the width of the narrow bar in specified units.
Public methodGetNextControl (Inherited from Control.)
Public methodGetPDFDimensions(Stream)
Returns size of PDF document pages in document units.
Public methodGetPDFDimensions(String)
Returns size of PDF document pages in document units.
Public methodGetPdfPageCount(Stream)
Returns count of pages in PDF document.
Public methodGetPdfPageCount(String)
Returns count of pages in PDF document.
Public methodGetPreferredSize (Inherited from Control.)
Protected methodGetScaledBounds (Inherited from Control.)
Protected methodGetScrollState (Inherited from ScrollableControl.)
Protected methodGetService (Inherited from Component.)
Protected methodGetStyle (Inherited from Control.)
Public methodGetSupplementaryValueRestrictions
Gets the supplementary value restrictions.
Protected methodGetTopLevel (Inherited from Control.)
Public methodGetType (Inherited from Object.)
Public methodGetValueRestrictions
Gets the value restrictions for the specified symbology.
Public methodHide (Inherited from Control.)
Public methodInitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected methodInitLayout (Inherited from Control.)
Public methodInvalidate (Inherited from Control.)
Public methodInvalidate(Region) (Inherited from Control.)
Public methodInvalidate(Boolean) (Inherited from Control.)
Public methodInvalidate(Rectangle) (Inherited from Control.)
Public methodInvalidate(Region, Boolean) (Inherited from Control.)
Public methodInvalidate(Rectangle, Boolean) (Inherited from Control.)
Public methodInvoke(Delegate) (Inherited from Control.)
Public methodInvoke(Delegate, Object) (Inherited from Control.)
Protected methodInvokeGotFocus (Inherited from Control.)
Protected methodInvokeLostFocus (Inherited from Control.)
Protected methodInvokeOnClick (Inherited from Control.)
Protected methodInvokePaint (Inherited from Control.)
Protected methodInvokePaintBackground (Inherited from Control.)
Protected methodIsInputChar (Inherited from Control.)
Protected methodIsInputKey (Inherited from Control.)
Public methodLoadAndApplyProfiles
Public methodLoadProfiles
Public methodLoadProfilesFromString
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodMemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Protected methodNotifyInvalidate (Inherited from Control.)
Protected methodOnAutoSizeChanged (Inherited from Control.)
Protected methodOnAutoValidateChanged (Inherited from ContainerControl.)
Protected methodOnBackColorChanged (Inherited from Control.)
Protected methodOnBackgroundImageChanged (Inherited from Control.)
Protected methodOnBackgroundImageLayoutChanged (Inherited from Control.)
Protected methodOnBindingContextChanged (Inherited from Control.)
Protected methodOnCausesValidationChanged (Inherited from Control.)
Protected methodOnChangeUICues (Inherited from Control.)
Protected methodOnClick (Inherited from Control.)
Protected methodOnClientSizeChanged (Inherited from Control.)
Protected methodOnContextMenuChanged (Inherited from Control.)
Protected methodOnContextMenuStripChanged (Inherited from Control.)
Protected methodOnControlAdded (Inherited from Control.)
Protected methodOnControlRemoved (Inherited from Control.)
Protected methodOnCreateControl (Inherited from UserControl.)
Protected methodOnCursorChanged (Inherited from Control.)
Protected methodOnDockChanged (Inherited from Control.)
Protected methodOnDoubleClick (Inherited from Control.)
Protected methodOnDragDrop (Inherited from Control.)
Protected methodOnDragEnter (Inherited from Control.)
Protected methodOnDragLeave (Inherited from Control.)
Protected methodOnDragOver (Inherited from Control.)
Protected methodOnEnabledChanged (Inherited from Control.)
Protected methodOnEnter (Inherited from Control.)
Protected methodOnFontChanged (Inherited from ContainerControl.)
Protected methodOnForeColorChanged (Inherited from Control.)
Protected methodOnGiveFeedback (Inherited from Control.)
Protected methodOnGotFocus (Inherited from Control.)
Protected methodOnHandleCreated (Inherited from Control.)
Protected methodOnHandleDestroyed (Inherited from Control.)
Protected methodOnHelpRequested (Inherited from Control.)
Protected methodOnImeModeChanged (Inherited from Control.)
Protected methodOnInvalidated (Inherited from Control.)
Protected methodOnKeyDown (Inherited from Control.)
Protected methodOnKeyPress (Inherited from Control.)
Protected methodOnKeyUp (Inherited from Control.)
Protected methodOnLayout (Inherited from ContainerControl.)
Protected methodOnLeave (Inherited from Control.)
Protected methodOnLoad (Inherited from UserControl.)
Protected methodOnLocationChanged (Inherited from Control.)
Protected methodOnLostFocus (Inherited from Control.)
Protected methodOnMarginChanged (Inherited from Control.)
Protected methodOnMouseCaptureChanged (Inherited from Control.)
Protected methodOnMouseClick (Inherited from Control.)
Protected methodOnMouseDoubleClick (Inherited from Control.)
Protected methodOnMouseDown (Inherited from UserControl.)
Protected methodOnMouseEnter (Inherited from Control.)
Protected methodOnMouseHover (Inherited from Control.)
Protected methodOnMouseLeave (Inherited from Control.)
Protected methodOnMouseMove (Inherited from Control.)
Protected methodOnMouseUp (Inherited from Control.)
Protected methodOnMouseWheel (Inherited from ScrollableControl.)
Protected methodOnMove (Inherited from Control.)
Protected methodOnNotifyMessage (Inherited from Control.)
Protected methodOnPaddingChanged (Inherited from ScrollableControl.)
Protected methodOnPaint
Handles paint events of the control.
(Overrides ControlOnPaint(PaintEventArgs).)
Protected methodOnPaintBackground (Inherited from ScrollableControl.)
Protected methodOnParentBackColorChanged (Inherited from Control.)
Protected methodOnParentBackgroundImageChanged (Inherited from Control.)
Protected methodOnParentBindingContextChanged (Inherited from Control.)
Protected methodOnParentChanged (Inherited from ContainerControl.)
Protected methodOnParentCursorChanged (Inherited from Control.)
Protected methodOnParentEnabledChanged (Inherited from Control.)
Protected methodOnParentFontChanged (Inherited from Control.)
Protected methodOnParentForeColorChanged (Inherited from Control.)
Protected methodOnParentRightToLeftChanged (Inherited from Control.)
Protected methodOnParentVisibleChanged (Inherited from Control.)
Protected methodOnPreviewKeyDown (Inherited from Control.)
Protected methodOnPrint (Inherited from Control.)
Protected methodOnQueryContinueDrag (Inherited from Control.)
Protected methodOnRegionChanged (Inherited from Control.)
Protected methodOnResize
Handles resize events of the control.
(Overrides UserControlOnResize(EventArgs).)
Protected methodOnRightToLeftChanged (Inherited from ScrollableControl.)
Protected methodOnScroll (Inherited from ScrollableControl.)
Protected methodOnSizeChanged (Inherited from Control.)
Protected methodOnStyleChanged (Inherited from Control.)
Protected methodOnSystemColorsChanged (Inherited from Control.)
Protected methodOnTabIndexChanged (Inherited from Control.)
Protected methodOnTabStopChanged (Inherited from Control.)
Protected methodOnTextChanged (Inherited from Control.)
Protected methodOnValidated (Inherited from Control.)
Protected methodOnValidating (Inherited from Control.)
Protected methodOnVisibleChanged (Inherited from ScrollableControl.)
Public methodPerformAutoScale (Inherited from ContainerControl.)
Public methodPerformLayout (Inherited from Control.)
Public methodPerformLayout(Control, String) (Inherited from Control.)
Public methodPointToClient (Inherited from Control.)
Public methodPointToScreen (Inherited from Control.)
Public methodPreProcessControlMessage (Inherited from Control.)
Public methodPreProcessMessage (Inherited from Control.)
Protected methodProcessCmdKey (Inherited from ContainerControl.)
Protected methodProcessDialogChar (Inherited from ContainerControl.)
Protected methodProcessDialogKey (Inherited from ContainerControl.)
Protected methodProcessKeyEventArgs (Inherited from Control.)
Protected methodProcessKeyMessage (Inherited from Control.)
Protected methodProcessKeyPreview (Inherited from Control.)
Public methodProcessMacros
Replaces macro codes with corresponding ASCII control characters.
Protected methodProcessMnemonic (Inherited from ContainerControl.)
Protected methodProcessTabKey (Inherited from ContainerControl.)
Protected methodRaiseDragEvent (Inherited from Control.)
Protected methodRaiseKeyEvent (Inherited from Control.)
Protected methodRaiseMouseEvent (Inherited from Control.)
Protected methodRaisePaintEvent (Inherited from Control.)
Protected methodRecreateHandle (Inherited from Control.)
Public methodRectangleToClient (Inherited from Control.)
Public methodRectangleToScreen (Inherited from Control.)
Public methodRefresh (Inherited from Control.)
Public methodResetBackColor (Inherited from Control.)
Public methodResetBindings (Inherited from Control.)
Public methodResetCursor (Inherited from Control.)
Public methodResetFont (Inherited from Control.)
Public methodResetForeColor (Inherited from Control.)
Public methodResetImeMode (Inherited from Control.)
Protected methodResetMouseEventArgs (Inherited from Control.)
Public methodResetRightToLeft (Inherited from Control.)
Public methodResetText (Inherited from Control.)
Public methodResumeLayout (Inherited from Control.)
Public methodResumeLayout(Boolean) (Inherited from Control.)
Public methodRevertToNormalSize
Reverts any changes to barcode size caused by a call to any of FitInto methods.
Protected methodRtlTranslateAlignment(HorizontalAlignment) (Inherited from Control.)
Protected methodRtlTranslateAlignment(LeftRightAlignment) (Inherited from Control.)
Protected methodRtlTranslateAlignment(ContentAlignment) (Inherited from Control.)
Protected methodRtlTranslateContent (Inherited from Control.)
Protected methodRtlTranslateHorizontal (Inherited from Control.)
Protected methodRtlTranslateLeftRight (Inherited from Control.)
Public methodSaveImage(Stream)
Saves the barcode image to specified stream.
Public methodSaveImage(String)
Saves the barcode image to file.
Public methodSaveImage(Stream, ImageFormat)
Saves the barcode image to specified stream.
Public methodSaveImage(String, ImageFormat)
Saves the barcode image to file.
Public methodSaveImage(Stream, ImageFormat, Size, Int32, Int32)
Saves the image with barcode into given stream.
Public methodSaveImage(String, ImageFormat, Size, Int32, Int32)
Saves the barcode image to file.
Public methodScale(Single) Obsolete. (Inherited from Control.)
Public methodScale(SizeF) (Inherited from Control.)
Public methodScale(Single, Single) Obsolete. (Inherited from Control.)
Protected methodScaleControl (Inherited from ScrollableControl.)
Protected methodScaleCore (Inherited from ScrollableControl.)
Public methodScrollControlIntoView (Inherited from ScrollableControl.)
Protected methodScrollToControl (Inherited from ScrollableControl.)
Public methodSelect (Inherited from Control.)
Protected methodSelect(Boolean, Boolean) (Inherited from ContainerControl.)
Public methodSelectNextControl (Inherited from Control.)
Public methodSendToBack (Inherited from Control.)
Public methodSetAdditionalCaptionFont(String, Int32)
Sets the font of the additional barcode caption.
Public methodSetAdditionalCaptionFont(String, Int32, Boolean, Boolean, Boolean, Boolean, Byte)
Sets the font of the barcode additional caption.
Public methodSetAutoScrollMargin (Inherited from ScrollableControl.)
Protected methodSetAutoSizeMode (Inherited from Control.)
Public methodSetBackColorRGB
Sets the background color in RGB format.
Public methodSetBarHeight
Sets the height of the barcode bars in specified units.
Public methodSetBounds(Int32, Int32, Int32, Int32) (Inherited from Control.)
Public methodSetBounds(Int32, Int32, Int32, Int32, BoundsSpecified) (Inherited from Control.)
Protected methodSetBoundsCore (Inherited from Control.)
Public methodSetCaptionFont(String, Int32)
Sets the font of the barcode caption.
Public methodSetCaptionFont(String, Int32, Boolean, Boolean, Boolean, Boolean, Byte)
Sets the font of the barcode caption font.
Protected methodSetClientSizeCore (Inherited from Control.)
Public methodSetCustomCaptionGap
Sets the gap size between the barcode and caption. To reset the gap to default (1/10 of caption font height) set gap to float.NaN.
Protected methodSetDisplayRectLocation (Inherited from ScrollableControl.)
Public methodSetForeColorRGB
Sets the fore color in RGB format.
Public methodSetMargins
Sets the barcode margins in specified units.
Public methodSetNarrowBarWidth
Sets the width of the narrow bars in specified units.
Protected methodSetScrollState (Inherited from ScrollableControl.)
Public methodSetSmoothingMode
Sets the barcode rendering quality.
Protected methodSetStyle (Inherited from Control.)
Protected methodSetTopLevel (Inherited from Control.)
Protected methodSetVisibleCore (Inherited from Control.)
Public methodShow (Inherited from Control.)
Protected methodSizeFromClientSize (Inherited from Control.)
Public methodSuspendLayout (Inherited from Control.)
Public methodToString (Inherited from Component.)
Public methodUpdate (Inherited from Control.)
Protected methodUpdateBounds (Inherited from Control.)
Protected methodUpdateBounds(Int32, Int32, Int32, Int32) (Inherited from Control.)
Protected methodUpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32) (Inherited from Control.)
Protected methodUpdateDefaultButton (Inherited from ContainerControl.)
Protected methodUpdateStyles (Inherited from Control.)
Protected methodUpdateZOrder (Inherited from Control.)
Public methodValidate (Inherited from ContainerControl.)
Public methodValidate(Boolean) (Inherited from ContainerControl.)
Public methodValidateChildren (Inherited from UserControl.)
Public methodValidateChildren(ValidationConstraints) (Inherited from UserControl.)
Public methodValueIsValid(String)
Validates the value using current symbology rules.
Public methodValueIsValid(String, Boolean)
Validates the value using current symbology rules.
Public methodValueIsValidGS1
Validates the GS1 value using GS1 rules.
Protected methodWndProc (Inherited from UserControl.)
Top
Events

  NameDescription
Public eventAutoSizeChanged (Inherited from UserControl.)
Public eventAutoValidateChanged (Inherited from UserControl.)
Public eventBackColorChanged (Inherited from Control.)
Public eventBackgroundImageChanged (Inherited from Control.)
Public eventBackgroundImageLayoutChanged (Inherited from Control.)
Public eventBindingContextChanged (Inherited from Control.)
Public eventCausesValidationChanged (Inherited from Control.)
Public eventChangeUICues (Inherited from Control.)
Public eventClick (Inherited from Control.)
Public eventClientSizeChanged (Inherited from Control.)
Public eventContextMenuChanged (Inherited from Control.)
Public eventContextMenuStripChanged (Inherited from Control.)
Public eventControlAdded (Inherited from Control.)
Public eventControlRemoved (Inherited from Control.)
Public eventCursorChanged (Inherited from Control.)
Public eventDisposed (Inherited from Component.)
Public eventDockChanged (Inherited from Control.)
Public eventDoubleClick (Inherited from Control.)
Public eventDragDrop (Inherited from Control.)
Public eventDragEnter (Inherited from Control.)
Public eventDragLeave (Inherited from Control.)
Public eventDragOver (Inherited from Control.)
Public eventEnabledChanged (Inherited from Control.)
Public eventEnter (Inherited from Control.)
Public eventFontChanged (Inherited from Control.)
Public eventForeColorChanged (Inherited from Control.)
Public eventGiveFeedback (Inherited from Control.)
Public eventGotFocus (Inherited from Control.)
Public eventHandleCreated (Inherited from Control.)
Public eventHandleDestroyed (Inherited from Control.)
Public eventHelpRequested (Inherited from Control.)
Public eventImeModeChanged (Inherited from Control.)
Public eventInvalidated (Inherited from Control.)
Public eventKeyDown (Inherited from Control.)
Public eventKeyPress (Inherited from Control.)
Public eventKeyUp (Inherited from Control.)
Public eventLayout (Inherited from Control.)
Public eventLeave (Inherited from Control.)
Public eventLoad (Inherited from UserControl.)
Public eventLocationChanged (Inherited from Control.)
Public eventLostFocus (Inherited from Control.)
Public eventMarginChanged (Inherited from Control.)
Public eventMouseCaptureChanged (Inherited from Control.)
Public eventMouseClick (Inherited from Control.)
Public eventMouseDoubleClick (Inherited from Control.)
Public eventMouseDown (Inherited from Control.)
Public eventMouseEnter (Inherited from Control.)
Public eventMouseHover (Inherited from Control.)
Public eventMouseLeave (Inherited from Control.)
Public eventMouseMove (Inherited from Control.)
Public eventMouseUp (Inherited from Control.)
Public eventMouseWheel (Inherited from Control.)
Public eventMove (Inherited from Control.)
Public eventPaddingChanged (Inherited from Control.)
Public eventPaint (Inherited from Control.)
Public eventParentChanged (Inherited from Control.)
Public eventPreviewKeyDown (Inherited from Control.)
Public eventQueryAccessibilityHelp (Inherited from Control.)
Public eventQueryContinueDrag (Inherited from Control.)
Public eventRegionChanged (Inherited from Control.)
Public eventResize (Inherited from Control.)
Public eventRightToLeftChanged (Inherited from Control.)
Public eventScroll (Inherited from ScrollableControl.)
Public eventSizeChanged (Inherited from Control.)
Public eventStyleChanged (Inherited from Control.)
Public eventSystemColorsChanged (Inherited from Control.)
Public eventTabIndexChanged (Inherited from Control.)
Public eventTabStopChanged (Inherited from Control.)
Public eventTextChanged (Inherited from UserControl.)
Public eventValidated (Inherited from Control.)
Public eventValidating (Inherited from Control.)
Public eventVisibleChanged (Inherited from Control.)
Top
Remarks

When using this class in a Windows application, you just need to copy the Bytescout.BarCode.dll file to your application's directory and add reference to Bytescout.BarCode component in your project refrences.
Examples

The following example illustrates how you can set properties of BarcodeControl control. This example requires that BarcodeControl with barcodeControl1 name is added to a form and that the Bytescout.BarCode namespace has been added to the source code for your form. You can also fine tune control appearance by means of Windows Forms designer.
See Also

Reference