Remove Method
- Namespace
TXTextControl.DataVisualization
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Removes a barcode from a Text Control document.
Syntax
public bool Remove(BarcodeFrame barcodeFrame);Public Function Remove(barcodeFrame As BarcodeFrame) As BooleanParameters
| Parameter | Description |
|---|---|
| barcodeFrame | Specifies the barcode to remove. |
Return Value
The return value is true, if the barcode could be removed. Otherwise, it is false.
Examples
The following example removes an item from the barcode collection.
if (barcodeCollection.Remove(new TXTextControl.DataVisualization.BarcodeFrame("Approved")))
{
Console.WriteLine("Remove completed successfully.");
}If barcodeCollection.Remove(New TXTextControl.DataVisualization.BarcodeFrame("Approved")) Then
Console.WriteLine("Remove completed successfully.")
End If