The ImageAlign type exposes the following members.

Properties

  Name Description
Public property AlignHorz
Gets or sets the horizontal alignment of an image within a container.
Public property AlignHorzExpr
Gets or sets the expression used to calculate AlignHorz.
Public property AlignVert
Gets or sets the vertical alignment of an image within a container.
Public property AlignVertExpr
Gets or sets the expression used to calculate AlignVert.
Public property BestFit
Gets or sets a value indicating whether an image should be resized to best fit within its container. See remarks for details.
Public property Static member Default
Gets the default image alignment.
Public property KeepAspectRatio
Gets or sets a value indicating whether the original aspect ratio is preserved when rendering an image. Used when StretchHorz or StretchVert is true.
Public property KeepAspectRatioExpr
Gets or sets the expression used to calculate KeepAspectRatio.
Public property StretchHorz
Gets or sets a value indicating whether an image is stretched horizontally to fill its container.
Public property StretchHorzExpr
Gets or sets the expression used to calculate StretchHorz.
Public property StretchVert
Gets or sets a value indicating whether an image is stretched vertically to fill its container.
Public property StretchVertExpr
Gets or sets the expression used to calculate StretchVert.
Public property TileHorz
Gets or sets a value indicating whether an image is tiled horizontally within its container. Ignored if StretchHorz is true.
Public property TileHorzExpr
Gets or sets the expression used to calculate TileHorz.
Public property TileVert
Gets or sets a value indicating whether an image is tiled vertically within its container. Ignored if StretchVert is true.
Public property TileVertExpr
Gets or sets the expression used to calculate TileVert.

See Also