TXTextControl.DataVisualization.BarcodeCollection.GetItem Method

Gets a particular barcode from the collection.

GetItem()

Gets the barcode selected by the user.

[C#]
public DataVisualization.BarcodeFrame GetItem();
[Visual Basic]
Public Function GetItem() As DataVisualization.BarcodeFrame

GetItem(Int32)

Gets the barcode with the specified identifier. An id can be set with the ID property.

[C#]
public DataVisualization.BarcodeFrame GetItem(int id);
[Visual Basic]
Public Function GetItem(ByVal id As Integer) As DataVisualization.BarcodeFrame
Parameter Description
id

Specifies the barcode's identifier. The method returns null, if a barcode with the specified identifier does not exist.

GetItem(String)

Gets the barcode with the specified name. A name can be set with the Name property.

[C#]
public DataVisualization.BarcodeFrame GetItem(string name);
[Visual Basic]
Public Function GetItem(ByVal name As String) As DataVisualization.BarcodeFrame
Parameter Description
name

Specifies the barcode's name. The method returns null, if a barcode with the specified name does not exist.

Return Value

The return value is null, if a barcode with the specified parameters could not be found. Otherwise, it is an object of the type DataVisualization.BarcodeFrame.

See Also