Name Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets the name of the paper size.
Syntax
public string Name { get; }Public ReadOnly Property Name As StringExamples
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}");Dim paperSize As PaperSize = textControl.GetSupportedPaperSizes().
First(Function(size) size.Name.IndexOf("A4", StringComparison.OrdinalIgnoreCase) >= 0)
Console.WriteLine($"Using paper size: {paperSize.Name}")Limitations
Read only.