A raster as an element of a layout is based on raster graphics created beforehand and stored in the file of BMP format (similarly to map image features, see chapter 9 “Map structure”).
To add a raster element to the layout it is required to push the button
of the mode toolbar and then indicate a rectangular region on the layout in which the element should be located (to do this one should press the left mouse button in one corner of the rectangle and release the button in the opposite corner). After that a dialog box “Adding/Properties of raster” shown at figure 46-4 is opened.
Figure 46-4. Dialog box “Adding raster”
The sample pane in the left part of the property dialog box originally looks like a black square. The button Load from File opens a dialog box for selecting a BMP file with raster graphics. After performing the selection this file is displayed in the sample pane.
The pane Display parameters becomes active only if the monochrome raster is loaded. When working with such a raster the user can select colors for the foreground and background, as for map image feature, and also set indications of inverse display and transparent background. For multicolored rasters all these parameters are not used.
The checkbox Border permits the user to indicate if the border line around the raster element of the layout should be displayed or not. It is also possible to select the style of this line using the corresponding button.
The checkbox Fix proportions affects the possibility of changing the ratio of sizes of the source raster when it is used as a layout element. If this box is checked, the ratio of height of the raster element to its width will be the same as in the source raster graphics in the file. If this box is cleared, the user can specify a rectangle with arbitrary ratio of sides for the raster element, the original proportions will be distorted.
To store rasters in the layout ObjectLand can use algorithms of compression of graphic data like it is performed for raster map features (see chapter 17 “Adding and editing features”, subsection “Raster optimization”). The checkbox Use compression located in the pane Compression parameters permits setting whether the raster should be stored in compressed form or not. When pushing the button Calculate compression ratio the system calculates how effectively compression can be performed. For example, if compression percentage is 70, it means that the raster in compressed form will occupy 30 per cent of the disk memory as it would occupy in normal form.