# RibbonLabel.SmallIcon Property

> Gets or sets a 16x16 1/96 inch icon for this RibbonLabel. If no icon is set, only the RibbonLabel's text is displayed.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 24.0
- **Namespace:** `TXTextControl.Windows.Forms.Ribbon`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Windows.Forms.Ribbon > RibbonLabel.SmallIcon Property
- **349 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlabel/smallicon-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlabel/smallicon-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlabel/smallicon-property/llms-full.txt

---

### Description

Gets or sets a 16x16 1/96 inch icon for this RibbonLabel. If no icon is set, only the RibbonLabel's [text](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlabel/text-property/llms-full.txt) is displayed.

### Syntax

```csharp
public System.Drawing.Image SmallIcon { get; set; }
```

```vbnet
Public Property SmallIcon As System.Drawing.Image
```

### Examples

The following example uses `RibbonLabel.SmallIcon` to configure small icon as part of the ribbon label workflow. The change is then applied to the active document or user interface.

```csharp
ribbonLabel.SmallIcon = System.Drawing.Image.FromFile(@"Images\icon.png");
ribbonLabel.Update();
```

```vbnet
ribbonLabel.SmallIcon = System.Drawing.Image.FromFile("Images\icon.png")
ribbonLabel.Update()
```

---

## Nearby

- **Previous:** [RibbonLabel.ParentCollection Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlabel/parentcollection-property/llms-full.txt)
- **Next:** [RibbonLabel.Text Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlabel/text-property/llms-full.txt)
