Macro Language Reference > PIs > Block > <?blockwidth>
  
<?blockwidth>
Description
This command is used to specify a width for a block, either as a single value or as a combination of values.
 
If you do not enter a width for the block, PTC ALD will work it out by calculating and totalling the columns, gutters and rules within it. This may give unpredictable results and hence it is advisable to specify a width using <?blockwwidth> .
Syntax
<?blockwidth +:? value:n ( +:? value:n )*>
+
(optional) Allows you to specify the block width components in separate <?blockwidth> commands, rather than together in one.
value
width
Fixed width: change the width of the block to make it fit an exact measurement, e.g. <?blockwidth=120mm>. Defaults to mm if no units are specified with the measurement.
perc%
Percentage of the current measure (taking into account block margins). Note that a value of 100% should be entered to specify a fit to measure setting.
#
Include block rules and fixed block gutters when calculating the width of the block. e.g. <?blockwidth=100mm + #> allocates 100mm for the columns in the block, then adds the block rules and fixed block gutters to this width.
Additional information
Blocks that aren’t given a specific width default to being the width of the parent container, whether this is a frame column or parent column when nested within another block or table. Blocks also default to having a flexible width, so if they overflow, or if the width of the parent container changes, the block width will also change and its columns will change proportionally. This will commonly occur when flowing to a new page of a different orientation - i.e. portrait to landscape. This option can be controlled via the <?blockwidthflex> command.
Related Links