Reports Viewport - Concepts
Using Viewports you can assemble data from Model Mode in any array of possibilities on the report pages. Any or all of the visible Model mode views can be placed to scale, or scaled to fit to the confines of any page.
Viewports are dynamic windows, drawn on the current Reports page, that contain a link to any view in AGi32's Model Mode. Viewports are dynamic, meaning that when the view contents change when working in Model mode, so will the contents of the Viewport. The linked View attaches itself to the upper left corner of the Viewport by default. Once a Viewport has been created, it can be moved or resized without any loss of information. In addition, a Viewport's properties may be changed at any time by double clicking on the Viewport or right clicking on the Viewport, and selecting Properties from the secondary menu.
Zooming and Panning in Viewports
Zooming and Panning is possible in Viewports using the following keyboard commands:
Command |
Keyboard Shortcut |
---|---|
Pan-Left |
Ctrl+Left Arrow |
Pan-Right |
Ctrl+Right Arrow |
Pan-Up |
Ctrl+Up Arrow |
Pan-Down |
Ctrl+Down Arrow |
Zoom-In |
Ctrl+Home |
Zoom-Out |
Ctrl+End |
As with Model Mode's View Pan commands, Viewport - Pan Left pans the focus position to the left (image shifts right), while Viewport - Pan Right pans the focus position to the right (image shifts left). Pan-Up and Pan-Down work similarly.
Viewport Pan uses a Pan Factor of 0.05 (5%). This means that the image is panned (moved) 5% of the total Viewport extents with each pan. Pan Factor can also be applied in the Viewport-Properties dialog.
Viewport Zoom uses a Zoom Factor of 0.05 (5%). This means that the image is zoomed in or out 5% of the total Viewport extents with each zoom. Zoom Factor can also be applied in the Viewport-Properties dialog
A Viewport may be copied to the Windows Clipboard and then pasted into a new (additional) location.
Note: In order to use the Copy/Paste process, the page must be unlocked. (The Lock/Unlock buttons are in the Reports Toolkit.)
- Right-click on the Viewport to be copied.
- In the menu that appears, select Copy.
- Right-click in an available location (not where there is already a Viewport).
- Move the Viewport as needed by dragging it with your mouse.
- To resize it or change its contents, right-click on it and select Properties.
Capture to Imageport
It is possible to capture an image displayed in a Viewport and convert it to a bitmap. The captured bitmap then becomes an Imageport. This procedure can be useful when you are interested in presenting your application in various stages of design. For example, luminaires only, luminaires and templates, luminaires and point by points. In this case, each stage of the design could be captured to an Imageport.
Here is an example of the procedure that might be employed. Imagine that you have a job file with templates and you want to present the layout with and without templates.
- Make all templates visible
- Enter Reports
- Create a Viewport
- Capture Viewport to Imageport
- Exit Reports
- Make all templates invisible
- Re -enter Reports
- Create a Viewport
- You now have a Viewport showing the layout without templates and an Imageport showing the layout with templates.
Capturing a Viewport to an Imageport effects the appearance of the image, because the original vector graphic must be presented as a raster graphic.