Image Settings
- 2 minutes to read
This topic describes various settings related to the representation of Image dashboard items.
#Image Alignment
To specify how the image is aligned within the dashboard item, use the Alignment group in the Ribbon’s Design tab of the Image Tools (or Bound Image Tools) contextual tab set.
To do the same thing in code, specify the vertical and horizontal alignment separately. Use the ImageDashboardItem.HorizontalAlignment and ImageDashboardItem.VerticalAlignment properties to do this.
#Image Size Mode
You can specify the image size mode that defines how the image fits within the dashboard item.
To do this, use the Size Mode group in the Ribbon’s Design tab.
The following table illustrates each size mode in two cases: when the image is smaller than the dashboard item, and vice versa.
Size Mode | Image Smaller than Dashboard Item | Image Larger than Dashboard Item | Description |
---|---|---|---|
Clip | ![]() |
![]() |
The image is clipped if it is larger than the Image |
Stretch | ![]() |
![]() |
The image within the Image |
Squeeze | ![]() |
![]() |
If the dimensions of the Image |
Zoom | ![]() |
![]() |
The image is sized proportionally (without clipping), so that it best fits the Image |
To specify the size mode in code, use the ImageDashboardItem.SizeMode property.