"horizontalSizePolicy", "verticalSizePolicy"

Allows to read/write the size policy of ashape, panel, shape group or panel reference..

Synopsis

setValue(string shape,"horizontalSizePolicy", string policy);

getValue(string shape,"horizontalSizePolicy", string policy);

shape.horizontalSizePolicy(string policy);

setValue(string shape,"verticalSizePolicy", string policy);

getValue(string shape,"verticalSizePolicy", string policy);

shape.verticalSizePolicy(string policy);

Parameter

Parameter Description
policy

Size policy that should be used for the shape. Possible values are:

  • Fixed
  • Minimum
  • Maximum
  • Preferred
  • MinimumExpanding
  • Expanding
  • Ignored

Description

The property allows to read/write the horizontal/vertical size policy of the shape. For further information see chapter Layout management.

Assignment

All Graphical Objects