Layer.setSize

Function/Meaning

Layer display size setting

Type
Layerclassmethod of
Syntax
setSize(width, height)
Arguments
width

Specifies the display width of the layer in pixels.
This value can also be obtained and set with the Layer.width property.

height

Specifies the vertical width of the layer display in pixels.
This value can also be obtained and set with the Layer.height property.

Return value
None (void)
Explanation

Sets the display size of the layer.