FormControl.calcControlSize(Int32, Int32) Method

Definition

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.

Applies to