# FootnoteCollection.Remove Method

> Removes a footnote from a Text Control document.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 32.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl > FootnoteCollection.Remove Method
- **773 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/footnotecollection/remove-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/footnotecollection/remove-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/footnotecollection/remove-method/llms-full.txt

---

### Description

Removes a footnote from a Text Control document.

### Syntax

```csharp
public bool Remove(Footnote footnote);
```

```vbnet
Public Function Remove(footnote As Footnote) As Boolean
```

### Parameters

| Parameter | Description |
|---|---|
| footnote | Specifies the footnote to remove. |

### Return Value

The return value is true, if the footnote could be removed. Otherwise, it is false.

### Examples

The following example works with footnotes in the current document by using `FootnoteCollection.Remove`.

```csharp
textControl.Text = "Customer: Contoso Ltd.";
textControl.Select(10, 12);
FootnoteCollection footnoteCollection = textControl.Footnotes;
footnoteCollection.Add(new Footnote("Source: FY 2026 annual report") { ID = 100 }, false);

if (footnoteCollection.Count > 0)
{
    Footnote footnote = footnoteCollection[1];
    if (footnoteCollection.Remove(footnote))
    {
        Console.WriteLine("The item was removed.");
    }
}
```

```vbnet
textControl.Text = "Customer: Contoso Ltd."
textControl.Select(10, 12)
Dim footnoteCollection As FootnoteCollection = textControl.Footnotes
footnoteCollection.Add(New Footnote("Source: FY 2026 annual report") With { .ID = 100 }, False)

If footnoteCollection.Count > 0 Then
    Dim footnote As Footnote = footnoteCollection.Item(1)
    If footnoteCollection.Remove(footnote) Then
        Console.WriteLine("The item was removed.")
    End If
End If
```

---

## Nearby

- **Previous:** [FootnoteCollection.NumberFormat Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/footnotecollection/numberformat-property/llms-full.txt)
- **Next:** [FootnoteCollection.StartNumber Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/footnotecollection/startnumber-property/llms-full.txt)
