layer/resize

The layer/resize command is used to change the size of the current layer.

Syntax

(layer/resize <width> <height>)
(layer/resize <paper-size>)

Options

width <measure>

The new layer width

Examples:
;; set the layer size to 1920x1080
(layer/resize 1920px 1080px)

;; set the layer size to 200mmx300mm
(layer/resize 200mm 300mm)

height <measure>

The new layer height

Examples:
;; set the layer size to 1920x1080
(layer/resize 1920px 1080px)

;; set the layer size to 200mmx300mm
(layer/resize 200mm 300mm)

paper-size <paper-size>

Set the layer size to a standard paper size. Valid values are:

  • A0 – 841mm x 1189mm
  • A0* – 1189mm x 841mm
  • A1 – 594mm x 841mm
  • A1* – 841mm x 594mm
  • A2 – 420mm x 594mm
  • A2* – 594mm x 420mm
  • A3 – 297mm x 420mm
  • A3* – 420mm x 297mm
  • A4 – 210mm x 297mm
  • A4* – 297mm x 210mm
  • A5 – 148mm x 210mm
  • A5* – 210mm x 148mm
  • A6 – 105mm x 148mm
  • A6* – 148mm x 105mm
Examples:
;; set the layer size to A6
(layer/resize A6)

;; set the layer size to A4 landscape
(layer/resize A4*)
Edit this page on GitHub