LinearBarcode

Represents linear barcode control.

public class LinearBarcode : WebControl, IAttributeAccessor, IComponent, IControlBuilderAccessor, IControlDesignerAccessor, IDataBindingsAccessor, IDisposable, IExpressionsAccessor, IParserAccessor, IUrlResolutionService
Public Class LinearBarcode
    Inherits WebControl
    Implements IAttributeAccessor, IComponent, IControlBuilderAccessor, IControlDesignerAccessor, IDataBindingsAccessor, IDisposable, IExpressionsAccessor, IParserAccessor, IUrlResolutionService

Inheritance: ObjectControlWebControlLinearBarcode

Implements: IAttributeAccessor, IComponent, IControlBuilderAccessor, IControlDesignerAccessor, IDataBindingsAccessor, IDisposable, IExpressionsAccessor, IParserAccessor, IUrlResolutionService

Licensing Info

This class is a DynamicBarcode Creator feature. One of the following is required for non-evaluation usage:

Constructors

LinearBarcode()Creates the LinearBarcode control.

Properties

AccessKeyGets or sets the access key that allows you to quickly navigate to the Web server control.
(Inherited from WebControl)
AlternateTextGets or sets the alternate text of the barcode image.
AppRelativeTemplateSourceDirectoryGets or sets the application-relative virtual directory of the Page or UserControl object that contains this control.
(Inherited from Control)
AttributesGets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control.
(Inherited from WebControl)
BackColorGets or sets the background color of the barcode.
BarcodeMarginGets or sets The margin of the control in pixels (at 96dpi).
BarColorGets or sets the bar color of the barcode.
ClientIDGets the control ID for HTML markup that is generated by ASP.NET.
(Inherited from Control)
ClientIDModeGets or sets the algorithm that is used to generate the value of the ClientID property.
(Inherited from Control)
ControlsGets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.
(Inherited from Control)
ControlStyleGets the style of the Web server control. This property is used primarily by control developers.
(Inherited from WebControl)
ControlStyleCreatedGets a value indicating whether a Style object has been created for the ControlStyle property. This property is primarily used by control developers.
(Inherited from WebControl)
CssClassGets or sets the Cascading Style Sheet (CSS) class rendered by the Web server control on the client.
(Inherited from WebControl)
DpiGets or sets the DPI used to output the barcode.
EnabledGets or sets a value indicating whether the Web server control is enabled.
(Inherited from WebControl)
EnableThemingGets or sets a value indicating whether themes apply to this control.
(Inherited from WebControl)
EnableViewStateGets 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)
GS1DataBarTypeGets or sets the type of gs1 databar barcode to display in the control when the LinearBarcodeType is GS1DataBar.
HasAttributesGets a value indicating whether the control has attributes set.
(Inherited from WebControl)
IDGets or sets the programmatic identifier assigned to the server control.
(Inherited from Control)
InlineImageGets or sets if an inline image will be used for the barcode.
LinearBarcodeTypeGets or sets the type of barcode to display in the control.
MsiAppendCheckDigitGets or sets if a check digit should be added to an MSI barcode.
NamingContainerGets 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)
PageGets a reference to the Page instance that contains the server control.
(Inherited from Control)
ParentGets a reference to the server control's parent control in the page control hierarchy.
(Inherited from Control)
RenderingCompatibilityGets a value that specifies the ASP.NET version that rendered HTML will be compatible with.
(Inherited from Control)
ShowTextGets or sets if the text value of the barcode is shown below the barcode.
SiteGets information about the container that hosts the current control when rendered on a design surface.
(Inherited from Control)
SkinIDGets or sets the skin to apply to the control.
(Inherited from WebControl)
StyleGets a collection of text attributes that will be rendered as a style attribute on the outer tag of the Web server control.
(Inherited from WebControl)
SupplementValueGets or sets the supplement value of the barcode. Only applies to UPC/EAN barcodes that have a supplement value.
SupportsDisabledAttributeGets a value that indicates whether the control should set the attribute of the rendered HTML element to "disabled" when the control's IsEnabled property is .
(Inherited from WebControl)
SymbolHeightGets or sets the height of the barcode in points. This does not include the text (if it is shown) on non UPC/EAN barcodes.
TabIndexGets or sets the tab index of the Web server control.
(Inherited from WebControl)
TemplateControlGets or sets a reference to the template that contains this control.
(Inherited from Control)
TemplateSourceDirectoryGets the virtual directory of the Page or UserControl that contains the current server control.
(Inherited from Control)
TextGets or sets the value used to generate the barcode.
TextAlignGets or sets the alignment of text below the barcode when ShowText is enabled. This does not apply to UPC/EAN barcodes.
TextColorGets or sets the color of the text below the barcode when ShowText is enabled.
TextFontGets or sets the font used to display text when the ShowText property is true. This does not apply to the text of UPC/EAN barcodes.
ToolTipGets or sets the text displayed when the mouse pointer hovers over the Web server control.
(Inherited from WebControl)
UniqueIDGets the unique, hierarchically qualified identifier for the server control.
(Inherited from Control)
ValidateRequestModeGets or sets a value that indicates whether the control checks client input from the browser for potentially dangerous values.
(Inherited from Control)
ViewStateModeGets or sets the view-state mode of this control.
(Inherited from Control)
VisibleGets or sets a value that indicates whether a server control is rendered as UI on the page.
(Inherited from Control)
XDimensionGets or sets the minimum width of a narrow bar in the barcode in pixels (at 96dpi).

Methods

ApplyStyle(Style)Copies any nonblank elements of the specified style to the Web control, overwriting any existing style elements of the control. This method is primarily used by control developers.
(Inherited from WebControl)
ApplyStyleSheetSkin(Page)Applies the style properties defined in the page style sheet to the control.
(Inherited from Control)
CopyBaseAttributes(WebControl)Copies the properties not encapsulated by the Style object from the specified Web server control to the Web server control that this method is called from. This method is used primarily by control developers.
(Inherited from WebControl)
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(Object)Determines whether the specified Object is equal to the current Object .
(Inherited from Object)
FindControl(String)Searches the current naming container for a server control with the specified parameter.
(Inherited from Control)
Focus()Sets input focus to a control.
(Inherited from Control)
GetBarcode()Gets new instance of the barcode based on the type specified.
GetHashCode()Serves as a hash function for a particular type.
(Inherited from Object)
GetRouteUrl(Object)Gets the URL that corresponds to a set of route parameters.
(Inherited from Control)
GetRouteUrl(RouteValueDictionary)Gets the URL that corresponds to a set of route parameters.
(Inherited from Control)
GetRouteUrl(String, Object)Gets the URL that corresponds to a set of route parameters and a route name.
(Inherited from Control)
GetRouteUrl(String, RouteValueDictionary)Gets the URL that corresponds to a set of route parameters and a route name.
(Inherited from Control)
GetType()Gets the Type of the current instance.
(Inherited from Object)
GetUniqueIDRelativeTo(Control)Returns the prefixed portion of the UniqueID property of the specified control.
(Inherited from Control)
HasControls()Determines if the server control contains any child controls.
(Inherited from Control)
MergeStyle(Style)Copies any nonblank elements of the specified style to the Web control, but will not overwrite any existing style elements of the control. This method is used primarily by control developers.
(Inherited from WebControl)
RenderBeginTag(HtmlTextWriter)Renders the HTML opening tag of the control to the specified writer. This method is used primarily by control developers.
(Inherited from WebControl)
RenderControl(HtmlTextWriter)Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
(Inherited from Control)
RenderEndTag(HtmlTextWriter)Renders the HTML closing tag of the control into the specified writer. This method is used primarily by control developers.
(Inherited from WebControl)
ResolveClientUrl(String)Gets a URL that can be used by the browser.
(Inherited from Control)
ResolveUrl(String)Converts a URL into one that is usable on the requesting client.
(Inherited from Control)
SetRenderMethodDelegate(RenderMethod)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)

Events

LinearBarcode.BarcodeExceptionRaisedOccurs when there is an error in rendering the barcode.
LinearBarcode.DataBindingOccurs when the server control binds to a data source.
(Inherited from Control)
LinearBarcode.DisposedOccurs 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)
LinearBarcode.InitOccurs when the server control is initialized, which is the first step in its lifecycle.
(Inherited from Control)
LinearBarcode.LoadOccurs when the server control is loaded into the Page object.
(Inherited from Control)
LinearBarcode.PreRenderOccurs after the Control object is loaded but prior to rendering.
(Inherited from Control)
LinearBarcode.UnloadOccurs when the server control is unloaded from memory.
(Inherited from Control)

See Also

ceTe.DynamicBarcode.Creator.Web

In this topic