ASP.NET Pack Programmer's Guide
ImageAlign Members
Constructors Fields
 


The members of this enumeration specify the position and size of the image displayed inside a node. These constants can be used as parameters of the ShapeNode.setImageAlign method of the ShapeNode and TableNode classes.

The following tables list the members exposed by the ImageAlign type.

 Public Constructors

  Name Description

ImageAlign

 

 Public Fields

  Name Description

BottomCenter

The image is aligned to the bottom-center point of the node.

BottomLeft

The image is aligned to the bottom-left corner of the node.

BottomRight

The image is aligned to the bottom-right corner of the node.

Center

The image is centered.

Fit

The image is resized to fit the node, preserving its original x/y ratio.

MiddleLeft

The image is aligned to the middle-left point of the node.

MiddleRight

The image is aligned to the middle-right point of the node.

Stretch

The image is stretched to fill the node.

Tile

The image is tiled across the node area.

TopCenter

The image is aligned to the top-center point of the node.

TopLeft

The image is aligned to the top-left corner of the node.

TopRight

The image is aligned to the top-right corner of the node.

 See Also

ImageAlign Class
com.mindfusion.diagramming Namespace