TX Text Control .NET Server

FontSize Property

Property|Introduced in 28.0
Namespace
TXTextControl.ServerVisualisation
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Server.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.dll

Description

Returns the pointsize (EM size), in pixels, of the combobox's font.

Syntax

public int FontSize { get; }

Examples

The following example includes the font size value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Font Size: {drawComboboxEventArgs.FontSize}");
Console.WriteLine("Draw Combobox Event Args is ready for use.");

Limitations

Read only.