# Selection.ShrinkFont Method

> Decreases the font size of each font contained in the current text selection. If no text is selected, this method decreases the font size at the text input position. The font sizes used with this method are the same as shown through the ButtonBar or the built-in font dialog.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 16.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.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 Server > Reference > TXTextControl > Selection.ShrinkFont Method
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selection/shrinkfont-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selection/shrinkfont-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selection/shrinkfont-method/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selection/shrinkfont-method/#description)
- [Syntax](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selection/shrinkfont-method/#syntax)
- [Return Value](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selection/shrinkfont-method/#return-value)
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selection/shrinkfont-method/#examples)

---

## Nearby

- **Previous:** [Selection.SectionFormat Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selection/sectionformat-property/llms.txt)
- **Next:** [Selection.Start Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selection/start-property/llms.txt)
