TX Text Control .NET Server

Height Property

Property|Introduced in 23.0
Namespace
TXTextControl.Web.MVC
Package
TXTextControl.Web as TXTextControl.Web.DocumentEditor.dll from nuget.org, the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the height of the control in the browser in percent, pixels or any other valid CSS length unit.

Syntax

public string Height { get; set; }

Examples

In the current ASP.NET Core integration, Height is configured through TextControlSettings. The following example sets it while creating the editor configuration.

textControlSettings.Height = "Quarterly report";
if (!string.IsNullOrWhiteSpace(textControlSettings.Height))
{
    Console.WriteLine($"Height: {textControlSettings.Height}");
}