How to obtain full width and height entire of page

"Alexander Naschansky" <[email protected]> Thu, 20 Mar 2003 18:28:10 +0200
Newsgroups gmane.comp.mozilla.devel.embedding,gmane.comp.mozilla.devel.xpcom
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
I tries write application which captures entire of web page in various
browsers. With help of XPCOM I can obtain size and position of mozilla
client area. But how I can
obtain full page dimensions including parts which are not visible at one
time?
Also is there way to control scrollbars of mozilla window?