How to set the stage height and width?

Hi All,
Is it Possible to Set the Height and width of the Document at Run time? Like winowstate =maximized in vb
Thanks in advance