TXTextControl.DataVisualization.BarcodeCollection Class

An instance of the BarcodeCollection class contains all barcodes in a document represented through objects of the type DataVisualization.BarcodeFrame. An instance of this class can be obtained with the TextControl.Barcodes, WPF.TextControl.Barcodes or ServerTextControl.Barcodes property. The BarcodeCollection class implements the IEnumerable and the ICollection interfaces.

Introduced: 19.0.

Syntax

[C#]
public sealed class BarcodeCollection: FrameBaseCollection
[Visual Basic]
Public NotInheritable Class BarcodeCollection
  Inherits FrameBaseCollection

Properties

Property Description
Count Gets the number of elements contained in the collection. (Inherited from FrameBaseCollection.)
IsSynchronized Returns true if the collection is designed to be thread safe, otherwise, it returns false. (Inherited from FrameBaseCollection.)
SyncRoot Gets an object that can be used to synchronize access to the collection. (Inherited from FrameBaseCollection.)

Methods

Method Description
Add Overloaded. Inserts a new barcode in a Text Control document.
Clear Removes all objects from the collection and from the document. (Inherited from FrameBaseCollection.)
CopyTo Copies the elements of the collection to an array, starting at a particular index.
GetEnumerator Returns an enumerator that can be used to iterate through the collection. (Inherited from FrameBaseCollection.)
GetItem Overloaded. Gets a particular barcode from the collection.
Remove Removes a barcode from a Text Control document.

See Also