FormControl.calcControlSize(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the size of the control.
public:
virtual cli::array <System::Object ^> ^ calcControlSize(int _chars, int _lines);
public virtual object[] calcControlSize (int _chars, int _lines);
abstract member calcControlSize : int * int -> obj[]
override this.calcControlSize : int * int -> obj[]
Public Overridable Function calcControlSize (_chars As Integer, _lines As Integer) As Object()
Parameters
- _chars
- Int32
The number of lines to use to determine the height.
- _lines
- Int32
The number of lines to use to determine the height.
Returns
Object[]
The container that holds the width and height.