Defines values to align elements within a control.
enum Alignment {
topLeft = 0,
topRight = 1,
bottomLeft = 2,
bottomRight = 3,
centerTop = 4,
centerLeft = 5,
centerRight = 6,
centerBottom = 7,
none = -1
}
enum Alignment {
topLeft = 0,
topRight = 1,
bottomLeft = 2,
bottomRight = 3,
centerTop = 4,
centerLeft = 5,
centerRight = 6,
centerBottom = 7,
none = -1
}
Value | Member | Description |
---|---|---|
0 | topLeft |
Aligns content to the top left of the control. |
1 | topRight |
Aligns content to the top right of the control. |
2 | bottomLeft |
Aligns content to the bottom left of the control. |
3 | bottomRight |
Aligns content to the bottom right of the control. |
4 | centerTop |
Aligns content to the top and center of the control. |
5 | centerLeft |
Aligns content to the center and left of the control. |
6 | centerRight |
Aligns content to the center and right of the control. |
7 | centerBottom |
Aligns content to the center and bottom of the control. |
-1 | none |
No alignment specified for this control, and the default will be used. |
myControl.alignment = alignment.topLeft;
Leadtools.Controls.Medical Namespace
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document