Home Cooker Classes Others Rice CookerGX
Classes  >  textarea  >  Rows
textarea class : Rows getter

Description

Gets the height of the textarea.

Syntax

textareaInstance.Rows

Arguments

None

Return value

ClassDescription
intThe height of the textarea.

Sample code

// anyTextarea is an instance of textarea class.

int numberOfLines= anyTextarea.Rows;

Notes

It is the height specified in number of lines.

If there is no rows attribute, 2 is returned. It is the default value.

Links for reference

Copyright © Rice All rights reserved.