Specifies the position and alignment of a picture relative to its destination rectangle.
Namespace: MindFusion.Drawing
Assembly: MindFusion.Common
C# Copy Code |
---|
public enum ImageAlign |
Visual Basic Copy Code |
---|
Public Enum ImageAlign |
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. |
|
FitBottom |
The image is resized to fit the size of the object and aligned to bottom side. |
|
FitLeft |
The image is resized to fit the size of the object and aligned to left side. |
|
FitRight |
The image is resized to fit the size of the object and aligned to right side. |
|
FitTop |
The image is resized to fit the size of the object and aligned to top side. |
|
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. |