The BarcodeControl type exposes the following members.

Constructors

  NameDescription
BarcodeControl
Initializes a new instance of the BarcodeControl class

Methods

  NameDescription
ApplyStyleSheetSkin
Applies the style properties defined in the page style sheet to the control.
(Inherited from Control.)
DataBind
Binds a data source to the invoked server control and all its child controls.
(Inherited from Control.)
Dispose
Enables a server control to perform final clean up before it is released from memory.
(Inherited from Control.)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
FindControl
Searches the current naming container for a server control with the specified id parameter.
(Inherited from Control.)
Focus
Sets input focus to a control.
(Inherited from Control.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
HasControls
Determines if the server control contains any child controls.
(Inherited from Control.)
RenderControl
Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
(Inherited from Control.)
ResolveClientUrl
Gets a URL that can be used by the browser.
(Inherited from Control.)
ResolveUrl
Converts a URL into one that is usable on the requesting client.
(Inherited from Control.)
SetRenderMethodDelegate
Assigns an event handler delegate to render the server control and its content into its parent control.
(Inherited from Control.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
AppRelativeTemplateSourceDirectory
Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control.
(Inherited from Control.)
Attributes
BackColor
Back color.
BarColor
Bar color.
BearerBars
Bearer bars type.
BearerBarsSize
Bearer bars size in pixels.
BindingContainer
Gets the control that contains this control's data binding.
(Inherited from Control.)
ChecksumAdd
If true adds checksum character(s).
ChecksumVisible
If true checksum character(s) is visible in barcode text.
ClientID
Gets the server control identifier generated by ASP.NET.
(Inherited from Control.)
Code128SetMode
You can specify the set that should be used when using Code128. BestFitABC is default.
Controls
Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.
(Inherited from Control.)
CustomText
Custom text which will be rendered instead of Number.
EAN128IsFNC1OmmitedForFixedLength
True if FNC1 control character should be ommited for fixed length fields. This results in shorter barcode. False is default.
EnableTheming
Gets or sets a value indicating whether themes apply to this control.
(Inherited from Control.)
EnableViewState
Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client.
(Inherited from Control.)
FontHeight
Fraction of Height which will be reserved for text label. Between 0 and 1.0. Default is 0.15
FontName
Font name that will be used for any text on barcode image.
FontStyle
Font style that will be used for any text on barcode image.
ForeColor
Text color.
Height
Barcode height.
ID
Gets or sets the programmatic identifier assigned to the server control.
(Inherited from Control.)
ImageType
Barcode image format.
IsNumberVisible
True if text should be visible in rendered barcode.
LeftQuietZone
Gets or sets left quiet zone size. If SetMarginsAutomatically is set to true always uses this.NarrowBarWidth*9.
NamingContainer
Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same ID property value.
(Inherited from Control.)
NarrowBarWidth
Width of the narrow bar in rendered barcode in pixels.
Number
Barcode number. Separate supplement with ',' char.
Page
Gets a reference to the Page instance that contains the server control.
(Inherited from Control.)
Parent
Gets a reference to the server control's parent control in the page control hierarchy.
(Inherited from Control.)
Ratio
Wide/narrow bar ratio.
RightQuietZone
Gets or sets right quiet zone size. If SetMarginsAutomatically is set to true always uses this.NarrowBarWidth*9.
Rotation
Rotation of the rendered barcode.
SetMarginsAutomatically
If set to true RightQuietZone and LeftQuietZone always uses this.NarrowBarWidth*9.
Site
Gets information about the container that hosts the current control when rendered on a design surface.
(Inherited from Control.)
SkinID
Gets or sets the skin to apply to the control.
(Inherited from Control.)
Symbology
Barcode symbology.
TemplateControl
Gets or sets a reference to the template that contains this control.
(Inherited from Control.)
TemplateSourceDirectory
Gets the virtual directory of the Page or UserControl that contains the current server control.
(Inherited from Control.)
UniqueID
Gets the unique, hierarchically qualified identifier for the server control.
(Inherited from Control.)
Visible
Gets or sets a value that indicates whether a server control is rendered as UI on the page.
(Inherited from Control.)
XDpi
Horizontal resolution in dots per inch.
YDpi
Vertical resolution in dots per inch.

Events

  NameDescription
DataBinding
Occurs when the server control binds to a data source.
(Inherited from Control.)
Disposed
Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested.
(Inherited from Control.)
Init
Occurs when the server control is initialized, which is the first step in its lifecycle.
(Inherited from Control.)
Load
Occurs when the server control is loaded into the Page object.
(Inherited from Control.)
PreRender
Occurs after the Control object is loaded but prior to rendering.
(Inherited from Control.)
Unload
Occurs when the server control is unloaded from memory.
(Inherited from Control.)

See Also