## DFrame: refreshScrollSize

NETSCAPE 4.x only

The refreshScrollSize method is launched by dFrameAPI each time a document is loaded in a DFrame in order to adjust the scroll to the document size. Developers can use this method to refresh this size in some cases:

§ If the document includes a lot of document.write methods and the refreshScrollSize method is launched by dFrameAPI before the document is completely written.

§ Is the size of the document is modified by some event (a layer becomes visible for instance).

### Syntax

DFrame.refreshScrollSize([newWidth[, newHeight]])

### Parameters

newWidth and newHeight

Integer. The new dimensions of the document.
If omitted the dimensions will be automatically computed by dFrameAPI.

### Return value

No return value