JavaScript » Layer » resizeBy

Syntax:
layer.resizeBy(horizPixels, vertPixels)

The resizeBy attribute of <Layer>  is deprecated in Javascript 1.2.

This method is used to resize the layer by the specified horizontal and vertical number of pixels.