Font Property
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.asTextControl. ASP. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. dll
Description
Gets or sets the font which is used to display text.
Syntax
public System.Drawing.Font Font { get; set; }Public Property Font As System.Drawing.FontExamples
The following example uses StatusBarViewGenerator.Font to configure font as part of the status bar view generator workflow. The configured value is checked before the workflow continues.
statusBarViewGenerator.Font = new System.Drawing.Font("Arial", 11.0f);
if (statusBarViewGenerator.Font != null)
{
Console.WriteLine("Status Bar View Generator: Font is available.");
}statusBarViewGenerator.Font = New System.Drawing.Font("Arial", 11.0F)
If statusBarViewGenerator.Font IsNot Nothing Then
Console.WriteLine("Status Bar View Generator: Font is available.")
End If