Macro Language Reference > Macros > Graphic > tgssize
  
tgssize
Description
Sets the size of the selected graphic object or objects, either as an absolute value or in relation to the original size.
 
Example 156. Increase size of an object graphic using absolute values
The macro shown below increases the size of the selected graphic shape by 5mm horizontally and 10mm vertically:
tgssize 5,10,1,1
Syntax
tgssize x size:uh? ( y size:uv? ( mode:n? ( relative:n? ) ) )
tgssize
[no parameter]
Invoke the Set object size dialog box.
x size
Width
y size
Height
mode
Ø|0
Set size from center (radius)
1
Set total size
relative
Ø|0
Treat x size and y size as absolute sizes.
1
Add x size and y size to the original size.
Additional Information
This is, in effect, exactly the same as the tgradius macro, with the exception that mode defaults to a different value.
Related Links