Back to Devexpress

BarCode Members

officefileapi-devexpress-dot-barcodes-dot-barcode-dot-underscore-members.md

latest8.1 KB
Original Source

BarCode Members

Represents a bar code for given data with the specified options.

Constructors

NameDescription
BarCode()Initializes a new instance of the BarCode class with the default settings.

Properties

NameDescription
AutoSizeAllows you to create an image in a size that fits all the specified bar code options.
BackColorGets or sets the background color of a bar code image.
BarCodeImageGets the bar code image.
BarHeightGets or sets the height of bars in a bar code.
BorderColorGets or sets the border color of the bar code image.
BorderWidthSpecifies the border width of the bar code image.
BottomCaptionProvides access to characteristics of the bar code bottom caption.
CodeGet the processed code text actually shown in the bar code.
CodeBinaryDataGets or sets the byte array to be coded into certain bar code types.
CodeTextGets or sets the text to be coded using the bar code symbology.
CodeTextFontSpecifies the font used to display the bar code text.
CodeTextHorizontalAlignmentGet or sets the horizontal alignment of the bar code text within the bar code image.
CodeTextVerticalAlignmentGet or sets the vertical alignment of the bar code text within the bar code image.
DpiGets or sets the dpi value used to render the bar code.
DpiXGets or sets the dpi value for the X-coordinate used to render the bar code.
DpiYGets or sets the dpi value for the Y-coordinate used to render the bar code.
ForeColorGets or sets the color of bars in the bar code image.
ImageHeightGets or sets the height of the bar code image.
ImageSizeGets or sets the size of the bar code image.
ImageWidthGets or sets the width of the resulting image.
IsPrintingAvailableIndicates whether the bar code can be printed and exported to PDF.
MarginsProvides access to margin widths set for a bar code image.
ModuleGets or sets the width of the narrowest bar or space in the bar code.
OptionsProvides access to options specific for various bar code types.
PaddingsGets the padding settings of a bar code image.
RotationAngleGets or sets the number of degrees the bar code is rotated around the z-axis.
ShowTextIndicates whether the code text is shown.
SymbologyGets or sets the bar code type (symbology).
TextRenderingHintGets or sets the bar code text rendering quality.
TopCaptionProvides access to characteristics of the bar code top caption.
UnitGets or sets the unit of measurement for bar code settings.

Methods

NameDescription
Dispose()Resets the bar code image, disposes of the BarCode object and releases all the allocated resources.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
ExportToPdf(Stream)Exports the bar code to the specified stream in PDF format.
ExportToPdf(String)Exports the bar code image to the specified file path in PDF format.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
Print()Prints the barcode to the default printer.
Print(DXPrinterSettings)Prints the barcode with the specified print settings.
PrintDialog()Invokes a dialog that enables you to select a printer and change print settings.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
Save(Stream, DXImageFormat)Saves the barcode image to a stream in the specified format.
Save(String, DXImageFormat)Saves the barcode image to a file in the specified format.
ShowPrintPreview()Invokes a dialog that enables you to preview the printout, print or save it in PDF format, or as an image file.
ToString()Returns a string that represents the current object. Inherited from Object.

See Also

BarCode Class

DevExpress.BarCodes Namespace