Link Search Menu Expand Document

BarcodeControl Methods

The BarcodeControl type exposes the following members.

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
See Also

Reference