ResetAutoControlSize Method
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Resets the AutoControlSize property to its default values. The default of the AutoControlSize property is a TextControl object that does not automatically expand or shrink its width or height.
Syntax
public void ResetAutoControlSize();Public Sub ResetAutoControlSize()Examples
The following example restores the auto control size setting on the text control to its default. The created object is then available to the surrounding document workflow.
textControl.ResetAutoControlSize();
Console.WriteLine("Text Control is ready for use.");textControl.ResetAutoControlSize()
Console.WriteLine("Text Control is ready for use.")