Search
ImageAlign Enumeration
See Also
 





Specifies the position and alignment of a picture relative to its destination rectangle.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

public enum ImageAlign

Visual Basic  Copy Code

Public Enum ImageAlign

 Members

  Member name Description

Unspecified

Invalid image alignment.

Center

The image is centered.

Fit

The image is resized to fit the size the destination rectangle.

Stretch

The image is stretched to fill the destination rectangle.

Tile

The image is tiled across the destination rectangle.

TopLeft

The image is aligned to the top left corner.

BottomLeft

The image is aligned to the bottom left corner.

TopRight

The image is aligned o the top right corner.

BottomRight

The image is aligned to the bottom right corner.

TopCenter

The image is centered horizontally and aligned to the top side.

BottomCenter

The image is centered horizontally and aligned to the bottom 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.

FitLeft

The image is resized to fit the size of the object and aligned to left side.

FitTop

The image is resized to fit the size of the object and aligned to top side.

FitRight

The image is resized to fit the size of the object and aligned to right side.

FitBottom

The image is resized to fit the size of the object and aligned to bottom side.

 See Also