Font Property
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WinForms. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or sets the font of the text displayed by the DialogButton.
Syntax
public System.Drawing.Font Font { get; set; }Public Property Font As System.Drawing.FontExamples
The following example uses DialogButton.Font to configure font as part of the dialog button workflow. The configured value is checked before the workflow continues.
dialogButton.Font = new System.Drawing.Font("Arial", 11.0f);
if (dialogButton.Font != null)
{
Console.WriteLine("Dialog Button: Font is available.");
}dialogButton.Font = New System.Drawing.Font("Arial", 11.0F)
If dialogButton.Font IsNot Nothing Then
Console.WriteLine("Dialog Button: Font is available.")
End If