Specifies the position and alignment of the chart's background image.
Namespace: MindFusion.Charting.WinForms
Assembly: MindFusion.Charting.WinForms
C#
![]() |
---|
public enum ImagePos |
Visual Basic
![]() |
---|
Public Enum ImagePos |
Member name | Description | |
---|---|---|
![]() |
BottomCenter |
The background image is centered horizontally and aligned to the bottom side of the control's drawing rectangle. |
![]() |
BottomLeft |
The background image is aligned to the bottom left corner of the control's drawing rectangle. |
![]() |
BottomRight |
The image is aligned to the bottom-right corner. |
![]() |
Center |
The background image is centered in the control's drawing rectangle. |
![]() |
CenterLeft |
The background image is centered vertically and aligned to the left side of the control's drawing rectangle. |
![]() |
CenterRight |
The background image is centered vertically and aligned to the right side of the control's drawing rectangle. |
![]() |
Fit |
The background image is resized to fit the control's drawing rectangle. |
![]() |
Scroll |
The background image is scrolled with the control's drawing area. |
![]() |
Stretch |
The background image is stretched to fill the control's drawing rectangle. |
![]() |
Tile |
The background image is tiled across the control's drawing rectangle. |
![]() |
TopCenter |
The background image is centered horizontally and aligned to the top side of the control's drawing rectangle. |
![]() |
TopLeft |
The background image is aligned to the top left corner of the control's drawing rectangle. |
![]() |
TopRight |
The background image is aligned to the top right corner of the control's drawing rectangle. |
The alignment and position of the background image is set with BkgrImagePos. The background image is specified with BackgroundImage. If part of the chart's area is left uncovered by the image, it is drawn with the BackgroundBrush.
ImagePos.Scroll value should be used when the resize type of the chart is ResizeType.Scrollable.