Click or drag to resize

BarcodeWriter Class

The BarcodeWriter class allows creation of one-dimensional barcodes on Graphics objects.
Inheritance Hierarchy

Namespace:  Atalasoft.Barcoding.Writing
Assembly:  Atalasoft.dotImage.Barcoding.Writing (in Atalasoft.dotImage.Barcoding.Writing.dll) Version: (.NET 4.5.2, x86)
public class BarcodeWriter : MarshalByRefObject, 

The BarcodeWriter type exposes the following members.

Public methodCode exampleBarcodeWriter
Constructs a new BarcodeWriter object that will create Code 39 barcodes.
Public methodBarcodeWriter(BarcodeStyle)
Creates a bar code with a given style.
Public propertyAlignment
Determines the BarcodeAlignment of the bar code symbol in the layout rectangle. Defaults to Center.
Public propertyCode exampleBackColor
Determines the color used to draw the background. Default is white.
Public propertyCode exampleBounds
After a call to Render(String, Graphics, Rectangle) contains the Rectanglethat bounds the rendered bar code.
Public propertyCaptionFont
The Font used to display the Caption if enabled (see DisplayCaption). Default is 8 point Arial.
Public propertyDisplayCaption
Determines whether the caption should be drawn as part of the barcode.
Public propertyCode exampleEncodedText
After a call to Render(String, Graphics, Rectangle) gets the text that was rendered in the barcode. This may include check sum digits or start/stop codes not contained in the text passed to render.
Public propertyForeColor
Determines the color used to draw the barcode. Default is black.
Public propertyLayoutMode
Determines whether the module width and ratio should be calculated automatically or manually. Default is LayoutMode.Auto
Public propertyModuleRatio
Sets or gets the ratio of wide bars to narrow bars in the barcode in barcodes that use wide and narrow strips. Default is 1.5.
Public propertyModuleWidth
Determines the widths of narrow bars in a barcode with both narrow and wide bars. Default is 2.
Public propertyOrientation
Specifies the BarcodeOrientation of the bar code. Default is BarcodeOrientation.Right
Public propertyStyle
Specifies the BarcodeStyle or Symbology for the bar code. This determines the supported character set. Default is BarcodeStyle.Code39
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose
Frees all resources associated with the LinearBarcode
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Destructor. Called by the GC only if the user does not call Dispose()
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodRender(String, IBarGraphics, Rectangle)
Renders the barcode in the supplied layout rectangle.
Public methodCode exampleRender(String, Graphics, Rectangle)
Renders the bar code in the supplied layout rectangle.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodCode exampleValidate
Validates the passed text against the selected bar code style.
Implements IDisposable. The user should call Dispose() when the object instance in no more necessary.
See Also