MindFusion.Charting for JavaScript Programmer's Guide
ImageAlign Enumeration
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

Specifies the position and alignment of a picture in a node, or that of the background image.

Namespace: MindFusion.Drawing
File: Enum.js

## Syntax

JavaScript Copy Code
// enum ImageAlign = {}

## Members

| 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 of the node or the diagram.
| BottomRight | The image is aligned to the bottom right corner of the node or the diagram.
| Center | The image is centered in the node or diagram.
| Fit | The image is resized to fit the size of the object or the component's client area.
| 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 object or the component's client area.
| Tile | The image is tiled to cover the node or the diagram.
| TopCenter | The image is centered horizontally and aligned to the top side.
| TopLeft | The image is aligned to the top left corner of the node or the diagram.
| TopRight | The image is aligned to the top right corner of the node or the diagram.

## See Also

MindFusion.Drawing Namespace