CT SIZE

4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next

version 1


CT SIZE (area; scope; width; height)

ParameterTypeDescription
areaLongint4D Chart area
scopeLongintScope of the command
-1 = All
0 = Selected objects
>0 = Object ID
widthRealNew width (in points)
-1 = No change
heightRealNew height (in points)
-1 = No change

Description

The CT SIZE command resizes the objects described in area by scope. When you resize an object, the top left corner of the object is anchored.

If scope equals -1, CT SIZE resizes all objects in the document.

If scope equals 0, CT SIZE resizes the selected objects.

If scope is greater than 0, it must be equal to a specific object's ID and that object is resized.

The object(s) described by scope are resized according to the width and height parameters, specified in points.

Example

This example resizes the object with ID equal to 5.

   CT SIZE (Area;5;10;10)

See Also

CT Get ID, CT MOVE.


4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next