Gets a collection of all barcodes contained in the main text of the document. The property value is an object of the type DataVisualization.BarcodeCollection. The collection can be used to get or to alter a barcode's attributes and to add barcodes to or to remove barcodes from the main text of the document.

Introduced: X13.

Syntax

public DataVisualization.BarcodeCollection Barcodes { get; }
Public ReadOnly Property Barcodes() As DataVisualization.BarcodeCollection

Examples

The following examples describes how to use the 'TXTextControl.MainText.Barcodes' property by storing it in a variable of the type 'TXTextControl.DataVisualization.BarcodeCollection'.

TXTextControl.MainText mainText = textControl1.TextParts.GetMainText()
//...
TXTextControl.DataVisualization.BarcodeCollection myMainTextBarcodeColl = mainText.Barcodes;
//....
Dim mainText As TXTextControl.MainText = TextControl1.TextParts.GetMainText()
'...
Dim myMainTextBarcodeColl As TXTextControl.DataVisualization.BarcodeCollection = mainText.Barcodes
'...

Limitations

Read only.