Sets the frame's size in twips. For images this property is read only. To change the size of an image in a document, use the setHorizontalScaling and setVerticalScaling methods.

<void> FrameBase.setSize(<Size> value, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
value The new property value.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.