SetObjectDimensions()

Syntax:

SetObjectDimensions( DimensionObject )

Parameters:

DimensionObjectDimensionObject is the name of the new object created using the GetObjectDimensions function. The properties of DimensionsObject will replace the properties of the specified object in this SetObjectDimensions. This parameter is required.

Remarks:

This function sets the dimensions of a specified object to the same dimensions as another Object. The dimensions it sets are: left, right, top, bottom, width and height. This function requires one parameter which is the name of the new object created by a GetObjectDimensions function.

image\Script_Button.jpgExamples