Home Cooker Classes Others Rice CookerGX
Classes  >  textarea  >  Rows(int)
textarea class : Rows(int) setter

Description

Sets the height of the textarea.

Syntax

textareaInstance.Rows = numberOfLines

Arguments

ClassNameDescription
intnumberOfLinesThe height of the textarea.

Return value

None

Sample code

// anyTextarea is an instance of textarea class.

anyTextarea.Rows = 5;

Notes

It is the height specified in number of lines.

An exception will be raised if a value less than or equal to 0 is assigned.

Links for reference

Copyright © Rice All rights reserved.