7.3.3 Scaling an Image
To scale an image, you need to enable image scaling, and then choose the method by which images should scale. Follow the steps below:
1. Right-click the Image component, and select 'Properties' from the context menu. This opens the 'Image Properties' dialog box.
2. Click the Advanced tab, and enable the 'Scale Image' option.
3. To keep image proportions constant during scaling, select 'Maintain Aspect Ratio'. This allows the image to scale without distortion.
4. To selectively scale only parts of the image (e.g., the middle of the image), select 'Scale (9-Cell Grid)'.
Tip: For an image with a border, you may want to keep the border width constant as the image is scaled. To do this, set the pixel values slightly greater than the border thickness.
This divides the image into a 3x3 grid of cells, shown below. The 'Top' and 'Bottom' cells are scaled only horizontally. The 'Left' and 'Right' cells are scaled only vertically. The corner cells are not scaled, and maintain their original size. The middle (gray) cell is scaled in both horizontal and vertical directions.

5. If you have selected 'Scale (9-Cell Grid)', enter the desired sizes of the 'Top', 'Bottom', 'Left', and 'Right' regions in pixels.
6. Click 'OK' to close the dialog box.
The image will now be scaled in the specified manner when you adjust the Image boundaries.
See Also
Creating a Background, to use an image as Viewsheet or component background.
| << Image: Advanced Tab | © 1996-2013 InetSoft Technology Corporation (v11.5) | 7.3.4 Adding Highlights to an Image >> |