Layer.setImageSize

Function/Meaning
Sets the layer image size
Type
Method of the Layer class
Syntax
setImageSize(width, height)
Arguments
width Specifies the width of the layer image in pixels.
This value can also be retrieved or set via the Layer.imageWidth property.
height Specifies the height of the layer image in pixels.
This value can also be retrieved or set via the Layer.imageHeight property.
Return Value
None (void)
Description
Specifies the layer image size.
If the size is expanded, the layer's display size remains unchanged. However, if the size is reduced, the layer's display size is also reduced.