Link Search Menu Expand Document

BarcodeWebImage Class

Barcode web control that allows to generate/draw/save barcodes at server and serve it as an image.
Inheritance Hierarchy
SystemObject
System.Web.UIControl
System.Web.UI.WebControlsWebControl
System.Web.UI.WebControlsImage
Bytescout.BarCodeBarcodeWebImage

Namespace:Bytescout.BarCode
Assembly: Bytescout.BarCode (in Bytescout.BarCode.dll) Version: 7.6.3.1256-master
Syntax
public class BarcodeWebImage : Image, 
	IBarcode, IBarCodeContainer

The BarcodeWebImage type exposes the following members.

Constructors
NameDescription
Public methodBarcodeWebImage
Initializes a new instance of the BarcodeWebImage class.
Top
Properties
NameDescription
Public propertyAccessKey (Inherited from WebControl.)
Protected propertyAdapter (Inherited from Control.)
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 propertyAlternateText (Inherited from Image.)
Public propertyAngle
Gets or sets the barcode rotation angle in degrees.
Public propertyAppRelativeTemplateSourceDirectory (Inherited from Control.)
Public propertyAttributes (Inherited from WebControl.)
Public propertyAutoFitToControlSize
Gets or sets a value indicating whether to auto fit barcode to control size or not.
Public propertyBackColor
Gets or sets the color used to draw the barcode background.
(Overrides WebControlBackColor.)
Public propertyBarHeight
Gets or sets the height of the barcode bars in pixels.
Public propertyBindingContainer (Inherited from Control.)
Public propertyBorderColor (Inherited from WebControl.)
Public propertyBorderStyle (Inherited from WebControl.)
Public propertyBorderWidth (Inherited from WebControl.)
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.
Protected propertyChildControlsCreated (Inherited from Control.)
Public propertyClientID (Inherited from Control.)
Public propertyClientIDMode (Inherited from Control.)
Protected propertyClientIDSeparator (Inherited from Control.)
Protected propertyContext (Inherited from Control.)
Public propertyControls (Inherited from Control.)
Public propertyControlStyle (Inherited from WebControl.)
Public propertyControlStyleCreated (Inherited from WebControl.)
Public propertyCssClass (Inherited from WebControl.)
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 propertyDataItemContainer (Inherited from Control.)
Public propertyDataKeysContainer (Inherited from Control.)
Public propertyDescriptionUrl (Inherited from Image.)
Protected propertyDesignMode (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 Image.)
Public propertyEnableTheming (Inherited from WebControl.)
Public propertyEnableViewState (Inherited from Control.)
Protected propertyEvents (Inherited from Control.)
Public propertyFont (Inherited from Image.)
Public propertyForeColor
Gets or sets the color used to draw the barcode bars and caption(s).
(Overrides WebControlForeColor.)
Public propertyGenerateEmptyAlternateText (Inherited from Image.)
Public propertyHasAttributes (Inherited from WebControl.)
Protected propertyHasChildViewState (Inherited from Control.)
Public propertyHeight
Gets or sets the height of the Web server control.
(Overrides WebControlHeight.)
Public propertyHorizontalAlignment
Gets or sets the horizontal alignment of the barcode within the container.
Public propertyID (Inherited from Control.)
Protected propertyIdSeparator (Inherited from Control.)
Public propertyImageAlign (Inherited from Image.)
Public propertyImageUrl (Inherited from Image.)
Protected propertyIsChildControlStateCleared (Inherited from Control.)
Protected propertyIsEnabled (Inherited from WebControl.)
Protected propertyIsTrackingViewState (Inherited from Control.)
Protected propertyIsViewStateEnabled (Inherited from Control.)
Public propertyLicenseInfo
Gets license information.
Protected propertyLoadViewStateByID (Inherited from Control.)
Public propertyMargins
Gets or sets the barcode margins in pixels.
Public propertyNamingContainer (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 propertyOutputFormat
Gets or sets the output format of the barcode image.
Public propertyPage (Inherited from Control.)
Public propertyParent (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 propertyProfiles
Comma-separated list of profiles to apply to the Barcode. Profiles are sets of properties and methods represented as JSON string. Check the source code examples installed with the SDK.
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 propertyRenderingCompatibility (Inherited from Control.)
Public propertyRenderingHint
Gets or sets the text rendering quality.
Public propertyResolutionX
Gets or sets the horizontal resolution of barcode.
Public propertyResolutionY
Gets or sets the vertical resolution of barcode.
Public propertyRoundDots
Sets whether to generate barcodes with round dots. Works only for QR Code, DataMatrix, and Aztec barcode types.
Public propertyRoundDotsScale
Scale factor for RoundDots in percents.
Public propertySite (Inherited from Control.)
Public propertySkinID (Inherited from WebControl.)
Public propertySmoothingMode
Gets or sets the barcode rendering quality.
Public propertyStyle (Inherited from WebControl.)
Public propertySupplementValue
Gets or sets the supplementary barcode value to encode (used with EAN-13, ISBN and UPC-A barcodes).
Public propertySupportsDisabledAttribute (Inherited from Image.)
Public propertySymbology
Gets or sets the barcode symbology type.
Public propertyTabIndex (Inherited from WebControl.)
Protected propertyTagKey (Inherited from WebControl.)
Protected propertyTagName (Inherited from WebControl.)
Public propertyTemplateControl (Inherited from Control.)
Public propertyTemplateSourceDirectory (Inherited from Control.)
Public propertyToolTip (Inherited from WebControl.)
Public propertyUniqueID (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.
Protected propertyViewState (Inherited from Control.)
Protected propertyViewStateIgnoresCase (Inherited from Control.)
Public propertyViewStateMode (Inherited from Control.)
Public propertyVisible (Inherited from Control.)
Public propertyWideToNarrowRatio
Gets or sets the width of the wide bar relative to the narrow bar.
Public propertyWidth
Gets or sets the width of the Web server control.
(Overrides WebControlWidth.)
Top
Methods
NameDescription
Protected methodAddAttributesToRender (Inherited from Image.)
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 methodAddedControl (Inherited from Control.)
Protected methodAddParsedSubObject (Inherited from Control.)
Public methodApplyStyle (Inherited from WebControl.)
Public methodApplyStyleSheetSkin (Inherited from Control.)
Protected methodBuildProfileTree (Inherited from Control.)
Protected methodClearCachedClientID (Inherited from Control.)
Protected methodClearChildControlState (Inherited from Control.)
Protected methodClearChildState (Inherited from Control.)
Protected methodClearChildViewState (Inherited from Control.)
Protected methodClearEffectiveClientIDMode (Inherited from Control.)
Public methodCopyBaseAttributes (Inherited from WebControl.)
Protected methodCreateChildControls (Inherited from Control.)
Protected methodCreateControlCollection (Inherited from Control.)
Protected methodCreateControlStyle (Inherited from WebControl.)
Public methodCreateProfile(String)
Creates JSON profile will all Barcode properties with current values.
Public methodCreateProfile(String, String)
Creates JSON profile will all Barcode properties with current values.
Public methodDataBind (Inherited from Control.)
Protected methodDataBind(Boolean) (Inherited from Control.)
Protected methodDataBindChildren (Inherited from Control.)
Public methodDispose
Disposes all resources.
(Overrides ControlDispose.)
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)
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 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.
Protected methodEnsureChildControls (Inherited from Control.)
Protected methodEnsureID (Inherited from Control.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindControl(String) (Inherited from Control.)
Protected methodFindControl(String, Int32) (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.)
Public methodGetBarHeight
Returns the height of the barcode bars in specified units.
Protected methodGetDesignModeState (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 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 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 methodGetRouteUrl(Object) (Inherited from Control.)
Public methodGetRouteUrl(RouteValueDictionary) (Inherited from Control.)
Public methodGetRouteUrl(String, Object) (Inherited from Control.)
Public methodGetRouteUrl(String, RouteValueDictionary) (Inherited from Control.)
Public methodGetSupplementaryValueRestrictions
Gets the supplementary value restrictions.
Public methodGetTempImageFileName
Gets the name of the temp image file.
Public methodGetType (Inherited from Object.)
Public methodGetUniqueIDRelativeTo (Inherited from Control.)
Public methodGetValueRestrictions
Gets the value restrictions for the specified symbology.
Public methodHasControls (Inherited from Control.)
Protected methodHasEvents (Inherited from Control.)
Protected methodIsLiteralContent (Inherited from Control.)
Public methodLoadAndApplyProfiles
Loads profiles from JSON string and automatically applies them. Note that profiles containing detection keywords will be deferred until the extraction.
Protected methodLoadControlState (Inherited from Control.)
Public methodLoadProfiles
Loads profiles from file.
Public methodLoadProfilesFromString
Loads profiles from JSON string.
Protected methodLoadViewState (Inherited from WebControl.)
Protected methodMapPathSecure (Inherited from Control.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodMergeStyle (Inherited from WebControl.)
Protected methodOnBubbleEvent (Inherited from Control.)
Protected methodOnDataBinding (Inherited from Control.)
Protected methodOnInit (Inherited from Control.)
Protected methodOnLoad (Inherited from Control.)
Protected methodOnPreRender (Inherited from Control.)
Protected methodOnUnload (Inherited from Control.)
Protected methodOpenFile (Inherited from Control.)
Public methodProcessMacros
Replaces macro codes with corresponding ASCII control characters.
Protected methodRaiseBubbleEvent (Inherited from Control.)
Protected methodRemovedControl (Inherited from Control.)
Public methodRemoveTempFile
Removes the temp file.
Protected methodRender
Renders the barcode into html.
(Overrides WebControlRender(HtmlTextWriter).)
Public methodRenderBeginTag (Inherited from WebControl.)
Protected methodRenderChildren (Inherited from Control.)
Protected methodRenderContents (Inherited from Image.)
Public methodRenderControl(HtmlTextWriter) (Inherited from Control.)
Protected methodRenderControl(HtmlTextWriter, ControlAdapter) (Inherited from Control.)
Public methodRenderEndTag (Inherited from WebControl.)
Protected methodResolveAdapter (Inherited from Control.)
Public methodResolveClientUrl (Inherited from Control.)
Public methodResolveUrl (Inherited from Control.)
Public methodRevertToNormalSize
Reverts any changes to barcode size caused by a call to any of FitInto methods.
Protected methodSaveControlState (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.
Protected methodSaveViewState (Inherited from WebControl.)
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 methodSetBackColorRGB
Sets the background color in RGB format.
Public methodSetBarHeight
Sets the height of the barcode bars in specified units.
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.
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 methodSetDesignModeState (Inherited from Control.)
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.
Public methodSetRenderMethodDelegate (Inherited from Control.)
Public methodSetSmoothingMode
Sets the barcode rendering quality.
Public methodToString (Inherited from Object.)
Protected methodTrackViewState (Inherited from WebControl.)
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.
Top
Events
NameDescription
Public eventDataBinding (Inherited from Control.)
Public eventDisposed (Inherited from Control.)
Public eventInit (Inherited from Control.)
Public eventLoad (Inherited from Control.)
Public eventPreRender (Inherited from Control.)
Public eventUnload (Inherited from Control.)
Top
Remarks

To use BarcodeWebControl in a web application created without Visual Studio, you need to do two things:

  1. First, you need to copy the Bytescout.BarCode.dll file to the bin subdirectory of your web application's virtual directory as registered with IIS. If you don't have a separate web application, you can copy it to C:\Inetpub\wwwroot\bin.
  2. Next, you do need to modify the Web.config file in your application's virtual directory (or C:\Inetpub\wwwroot\ if you don't have a separate application), by adding,

    <httpHandlers>
        <add verb="*" path="BarcodeHandler.aspx" type="Bytescout.BarCode.BarcodeHandler, Bytescout.BarCode"/>
    </httpHandlers>
    inside <system.web> section.

Note that there's no actual file called BarcodeHandler.aspx, but you can reference it within your application as a URL and you don't need to specify any path.

<img src="BarcodeHandler.aspx?symbology=Code128&value=DATA" />

For a full list of parameter names see the table below.

To use BarcodeWebControl in a web application created within Visual Studio, you need:

  1. Add new web.config file if you don't have one.
  2. Set up an HttpHandler in an ASP.NET web application by adding <httpHandler> section as written above.
  3. Dag and drop BarcodeWebImage from toolbox to your web page. This will add the references to Bytescout.BarCode.dll to your project. You can fine tune added control appearance by means of Windows Forms designer.

Below is a table of BarcodeHandler.aspx parameters:

Parameter nameDescription
checksumtrue if checksum should be added to barcode; otherwise, false.
checksumToCaptiontrue if checksum should be added to barcode caption; otherwise, false.
extraCaptionThe additional barcode caption text to draw.
extraCaptionFontThe additional barcode caption font. Please use TypeConverter object for encoding.
TypeConverter tc = TypeDescriptor.GetConverter(typeof(Font)); tc.ConvertToString(aFont);
extraCaptionPosThe barcode additional caption position. For possible values take a look at CaptionPosition
angleThe barcode rotation angle. For possible values take a look at RotationAngle
backThe color used to draw the barcode background. Please use TypeConverter object for encoding.
TypeConverter tc = TypeDescriptor.GetConverter(typeof(Color)); tc.ConvertToString(aBackColor);
barHeightThe height of the barcode bars in pixels.
captionFontThe barcode caption font. Please use TypeConverter object for encoding.
TypeConverter tc = TypeDescriptor.GetConverter(typeof(Font)); tc.ConvertToString(aFont);
captionPosThe barcode caption position. For possible values take a look at CaptionPosition
captionThe custom caption text to draw instead of the barcode encoded value.
drawCaptiontrue if to draw the barcode encoded value; otherwise, false.
foreThe color used to draw the barcode bars and caption(s). Please use TypeConverter object for encoding.
TypeConverter tc = TypeDescriptor.GetConverter(typeof(Color)); tc.ConvertToString(aForeColor);
marginsThe barcode margins. Please use following syntax for encoding: [aLeft;aTop;aRight;aBottom].
narrowBarWidthThe width of the narrow bar in pixels.
codabarCheckAlgoThe algorithm to use for Codabar symbology checksum calculation. For possible values take a look at CodabarChecksumAlgorithm
codabarStopThe symbol to use as stop symbol in Codabar symbology. For possible values take a look at CodabarSpecialSymbol
codabarStartThe symbol to use as start symbol in Codabar symbology. For possible values take a look at CodabarSpecialSymbol
code128alphabetThe alphabet to use for Code 128 symbology. For possible values take a look at Code128Alphabet
drawGaptrue if to draw intercharacter gaps; otherwise, false. Note that not all symbologies support this option.
showStartStoptrue if to show start and stop symbology symbols in caption text; otherwise, false. Note that not all symbologies support this option.
pdf417minColumnCountThe minimum data column count for PDF417 barcodes.
pdf417columnCountThe exact data column count for PDF417 barcodes.
pdf417rowCountThe exact data row count for PDF417 barcodes.
pdf417compactionThe compaction mode to use while creating barcodes of PDF417 family. For possible values take a look at PDF417CompactionMode
pdf417errorLevelThe error correction level to use for PDF417 barcodes. For possible values take a look at PDF417ErrorCorrectionLevel
pdf417CreateMacroWhether to create PDF417 barcode as part of Macro PDF417 sequence.
pdf417FileIDFile ID value for Macro PDF417 barcodes. Should be in range [0..899]
pdf417SegmentIndexSegment Index value for current Macro PDF417 barcode. Should be in range [0..99998]
pdf417LastSegmentWhether current Macro PDF 417 barcode should be marked as last segment of sequence
pdf417UseManualSizeWhether PDF417 barcodes should use manual row and column count settings instead of automatically calculated values (and the only option to set a minimal column count).
textHintThe barcode text rendering quality. For possible values take a look at TextRenderingHint
smoothingThe barcode rendering quality. For possible values take a look at SmoothingMode
symbologyThe barcode symbology type. For possible values take a look at SymbologyType
valueThe barcode value to encode.
suppValueEAN13 barcode only: the barcode supplemental value to encode.
w2nRatioThe width of a wide bar relative to the narrow bar.
halignThe horizontal alignment of the barcode within the container. For possible values take a look at BarcodeHorizontalAlignment
valignThe vertical alignment of the barcode within the container. For possible values take a look at BarcodeVerticalAlignment
formatThe output format of the barcode image. For possible values take a look at ImageFormat
widthThe width of output image in pixels.
heightThe height of output image in pixels.
keyThe key number part of registration information.
nameThe name part of the registration information.
dmcompactionThe compaction mode to use while creating Data Matrix barcodes. For possible values take a look at DataMatrixCompactionMode
dmsizeThe symbol size for Data Matrix barcodes. For possible values take a look at DataMatrixSize
qrversionThe minimum symbol version (size) for QR Code barcodes. Value should be in [0..40] range.
qrhintThe hint to use when encoding non-alphanumeric data while creating QR Code barcodes. For possible values take a look at QREncodeHint
qrerrorLevelThe error correction level for QR Code barcodes. For possible values take a look at QRErrorCorrectionLevel
isbnAutoCaptiontrue if auto created additional caption for ISBN barcodes should be drawn; otherwise, false.
isbnCaptionTemplateThe ISBN caption template
aztecerrorLevelThe error correction level for Aztec Code barcodes. For possible values take a look at AztecErrorCorrectionLevel
aztecSizeThe minimum symbol size for Aztec Code barcodes. Value should be in [0..36] range.
supplementSpaceThe space (in pixels) between main and supplemental barcode.
drawCaption2Dtrue if to draw the barcode encoded value for 2D barcodes; otherwise, false.
quietZonestrue if quite zones should be drawn when drawing symbologies that have such zones; otherwise, false.
preserveMinReadableSizetrue if output size should be checked so it's not less than barcode size; otherwise, false.
autoFittrue if the barcode should auto fit into control size; otherwise, false.
See Also

Reference