How to: Specify an Image as a Pointer on a Gauge (Report Builder 2.0)
The gauge contains three built-in styles that can be used to customize the appearance of the pointer. If a unique pointer is required, the user can create and specify an image which can be used as a fully functional pointer.
When you are specifying an image for the pointer, your image must have the following specifications:
The origin of the pointer, or center of rotation, must be at the top of the image.
The end of the pointer must be pointing down.
Since the pointer is an irregular shape, you will need to specify a transparency color to hide the unnecessary portions of the image. Consider using a color that would not normally be shown on the gauge as the transparency color, since the colors specified will not appear on the gauge.
To specify an image as a pointer on the gauge
In Design view, in the Report Data pane, right-click the Images node, and then click Add Image.
If the Report Data pane is not visible, on the View tab, click Report Data.
Add an image to your report. For more information, see How to: Embed an Image in a Report (Report Builder 2.0).
Open the Properties pane.
(Optional) If no pointer exists on the gauge, right-click on the gauge and select Add Pointer. A pointer is added to the gauge.
On the design surface, click on the pointer. The properties for the pointer are displayed in the Properties pane.
Expand the PointerImage node.
In Source, select Embedded from the drop-down list.
If your image is stored in the database or on the web, you can specify the appropriate option for this property. For more information, see Image Properties Dialog Box, General (Report Builder 2.0).
In Value, select the name of your image from the drop-down list.
In TransparentColor, pick a color value that you want to remove from the image. This will create a seamless appearance for the pointer in the gauge.