To scale, crop, or size an object
- Add a picture or other OLE object to your report.
- Right-click the object and select Format Graphic from the shortcut menu.
- In the Format Editor, click the Picture tab.
- To crop the object, specify the size of the piece that you want to cut from its top, bottom, left, and/or right side.
- To Scale the object as a percentage of the original height and width, enter the new scaling percentages.
For example, if your object is one inch wide, that width is automatically assigned a width scaling value of 100%. To double the width of the object, change Scaling Width to 200% (twice the size of the original). Likewise, to reduce the width of the object to half, change Scaling Width to 50%.
- To resize the object, enter a new width and height.
For example, if your object is a one inch square, each of the Size settings is set at one inch. To double the length and width of the object (to make a two inch square), reset the Size settings to two inches each. To reduce the size of the object to a half inch square, reset the Size settings to a half inch each.
- To keep aspect ratio on the Format Editor dialog, use the Keep Aspect Ratio checkbox. When Keep Aspect Ratio is checked, the
- Width % and Height % in scaling box are always the same.
- Width / Height ratio in size box is kept based on the object's original width / height ratio (and crop values).
- For dynamic pictures, for example, those from database (BLOB field) or from HTTP URL (defined in Graphic Location), the actual picture size often differs to the size in Format Editor based on the static sample picture. To generate a desired output, choose one of following display method:
- Stretch: This option helps to stretch the picture to the defined width and height in Size section
- Respect Scaling (Can Grow): This option respects the width % and height % defined in Scaling section. Each formatted picture can be larger or smaller than the values defined in the Size section.
- Fit to box: This new option keeps each actual picture's aspect ratio (which could differ to the static sample picture's aspect ratio), then resize to fit into the width and height defined in Size section (the box). Some white space (transparent) might appear on top/bottom, or left/right sides.
- To control the automatic rotation of dynamic JPG pictures in the report, use the Auto Rotate JPG checkbox. When it is checked, JPG pictures are rotated according to the orientation tag (for example, rotate 90 degree Clockwise) in each JPG's EXIF data. Orientation tag is widely seen in JPG photos from most digital cameras and mobile phones.