# FontSettings.ScalableFontsOnly Property

> Gets or sets a value specifying that only free scalable fonts can be used in a document. The default setting of this property is false.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 15.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.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 Windows Forms > Reference > TXTextControl > FontSettings.ScalableFontsOnly Property
- **459 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/fontsettings/scalablefontsonly-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/fontsettings/scalablefontsonly-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/fontsettings/scalablefontsonly-property/llms-full.txt

---

### Description

Gets or sets a value specifying that only free scalable fonts can be used in a document. The default setting of this property is false.

### Syntax

```csharp
public bool ScalableFontsOnly { get; set; }
```

```vbnet
Public Property ScalableFontsOnly As Boolean
```

### Examples

The following example configures font settings for the current document by using `FontSettings.ScalableFontsOnly`.

```csharp
FontSettings fontSettings = textControl.FontSettings;

fontSettings.ScalableFontsOnly = true;
if (fontSettings.ScalableFontsOnly)
{
    Console.WriteLine("Font Settings: Scalable Fonts Only is enabled.");
}

fontSettings.TrueTypeFontsOnly = true;
```

```vbnet
Dim fontSettings As FontSettings = textControl.FontSettings

fontSettings.ScalableFontsOnly = True
If fontSettings.ScalableFontsOnly Then
    Console.WriteLine("Font Settings: Scalable Fonts Only is enabled.")
End If

fontSettings.TrueTypeFontsOnly = True
```

---

## Nearby

- **Previous:** [FontSettings.EmbeddableFontsOnly Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/fontsettings/embeddablefontsonly-property/llms-full.txt)
- **Next:** [FontSettings.TrueTypeFontsOnly Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/fontsettings/truetypefontsonly-property/llms-full.txt)
