TX Text Control .NET for WPF

Name Property

Property|Introduced in 24.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets the name of the paper size.

Syntax

public string Name { get; }

Examples

The following example selects the supported A4 paper definition by name.

PaperSize paperSize = textControl.GetSupportedPaperSizes()
    .First(size => size.Name.Contains("A4", StringComparison.OrdinalIgnoreCase));
Console.WriteLine($"Using paper size: {paperSize.Name}");

Limitations

Read only.