CanvasSizeProperty
Tool |
The Canvas Size property controls the size of a 2D canvas.
Canvas as piece of paper
You can think of a Blockpad drawing canvas as a physical piece of paper, with the dimensions specified by the Canvas Size property. Thinking of a normal 8.5 in x 11 in paper, if you print out a canvas of that size, you can measure the lines on it, and that is the actual geometry size in Blockpad (if the canvas scale is set to 1).
Change the canvas size of a top-level 2D canvas:
- Select the desired canvas in the list of top-level frames on the left side of the screen.
- On the canvas name, Right Click>Properties to open the properties window.
- Under Object, click Canvas size.
- Type in the width and height of the canvas.
- Click OK.
Change the canvas size of a subframe 2D canvas:
- Select a 2D canvas subframe by hovering over it and clicking the label that appears above it.
- Open the properties window.
- Under Object, click Canvas size.
- Type in the width and height of the canvas.
- Click OK.
Notes:
- Numbers typed in for width and height are treated as inches if no unit is specified, but any number with length units works: 2.3 ft, 512 mm, 0.001 mile, etc.
- When a 2D canvas is inside of a report, then the canvas/"piece of paper" will resize to fit the space it is given (the width of the report). If you print the report page, the drawing will not be to scale unless the width of the canvas size exactly fits the width it is resizing to.
See also:
You can refer to this tool in any formula, macro, module, or other script in Blockpad. You can use either its name or its full path:
-
To refer to it by name, use
CanvasSizeProperty
(make sure the library Library.Tools.Properties is included with Include Libaries) - To refer to it by its full path, use
Library.Tools.Properties.CanvasSizeProperty
See also: