Search
ImageAlignment Enumeration
See Also
 





Specifies the alignment of an image.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public enum ImageAlignment

Visual Basic  Copy Code

Public Enum ImageAlignment

 Members

  Member name Description

Bottom

The image is aligned to the bottom side of the layout rectangle.

Center

The image is centered within the layout rectangle.

Fit

The image is stretched to fit in the layout rectangle, but its original ratio is preserved.

Left

The image is aligned to the left side of the layout rectangle.

None

Same as Center.

Right

The image is aligned to the right side of the layout rectangle.

Stretch

The image is stretched. Equal to Left | Top | Right | Bottom.

Tile

The image is tiled across the layout rectangle.

Top

The image is aligned to the top side of the layout rectangle.

Unspecified

Invalid image alignment.

 See Also