Specifies the position and alignment of a picture relative to its destination rectangle.
Namespace: MindFusion.Drawing
Assembly: MindFusion.Charting
C# Copy Code |
---|
public enum ImageAlignment |
Visual Basic Copy Code |
---|
Public Enum ImageAlignment |
Member name | Description | |
---|---|---|
BottomCenter |
The image is centered horizontally and aligned to the bottom side. |
|
BottomLeft |
The image is aligned to the bottom left corner. |
|
BottomRight |
The image is aligned to the bottom right corner. |
|
Center |
The image is centered. |
|
Fit |
The image is resized to fit the size the destination rectangle. |
|
MiddleLeft |
The image is centered vertically and aligned to the left-hand side. |
|
MiddleRight |
The image is centered vertically and aligned to the right-hand side. |
|
Stretch |
The image is stretched to fill the destination rectangle. |
|
Tile |
The image is tiled across the destination rectangle. |
|
TopCenter |
The image is centered horizontally and aligned to the top side. |
|
TopLeft |
The image is aligned to the top left corner. |
|
TopRight |
The image is aligned o the top right corner. |