Gets or sets a value to determine how to center the image in the control's client area vertically, when the height of the destination rectangle is smaller than the height of the client area.
public virtual RasterPaintAlignMode VerticalAlignMode { get; set; }
Public Overridable Property VerticalAlignMode As Leadtools.RasterPaintAlignMode
public:
virtual property Leadtools.RasterPaintAlignMode VerticalAlignMode {
Leadtools.RasterPaintAlignMode get();
void set ( Leadtools.RasterPaintAlignMode );
}
An Leadtools.RasterPaintAlignMode enumeration value that determine how to center the image in the control's client area vertically, when the height of the destination rectangle is smaller than the height of the client area.
For example, this can be used to center a small image when it is displayed in a control that is larger than the image's dimensions (Leadtools.RasterImage.Width x Leadtools.RasterImage.Height).
This can also be used in conjunction with the HorizontalAlignMode property, SizeMode property and the ScaleFactor property to center an image when the zoomed display dimensions are smaller than the control's dimensions.
Note that RasterPaintAlignMode.CenterAlways is not currently supported for this control.
Refer to RasterImageViewer.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET