Layer.setSize

Function/Meaning
Sets the layer display size
Type
Layer class method
Syntax
setSize(width, height)
Arguments
width Specifies the display width of the layer in pixels.
This value can also be retrieved or set via the Layer.width property.
height Specifies the display height of the layer in pixels.
This value can also be retrieved or set via the Layer.height property.
Return Value
None (void)
Description
Sets the display size of the layer.