Sfairadora

  • Reference Guide

set_metric_size

var_bmp <- get_metric_size(dx)
var_bmp <- get_metric_size(dx, dy)
The var_bmp parameter is an l-value referring to a variable of the type Bitmap. The function sets the recommended physical dimension of the image used when printing. Either both dimensions – the with dx and the height dy – are specified, or just the width. In the latter case, the height is determined form the image aspect ratio. The both dimensions are in millimeters (the type Real).
The return value is an l-value referring to the modified variable.

See Also