OverlayAlignment enumeration represents the placement of the overlay text displayed on top of each frame.
lt.Controls.Medical.OverlayAlignment = {
None: -1,
TopLeft: 0,
TopRight: 1,
BottomLeft: 2,
BottomRight: 3,
CenterTop: 4,
CenterLeft: 5,
CenterRight: 6,
CenterBottom: 7
}
lt.Controls.Medical.OverlayAlignment = {
None: -1,
TopLeft: 0,
TopRight: 1,
BottomLeft: 2,
BottomRight: 3,
CenterTop: 4,
CenterLeft: 5,
CenterRight: 6,
CenterBottom: 7
}
Members
-1 | None |
(-1) None. |
0 | TopLeft |
(0x00000000) Top left alignment. |
1 | TopRight |
(0x00000001) Top right alignment. |
2 | BottomLeft |
(0x00000002) Bottom left alignment. |
3 | BottomRight |
(0x00000003) Bottom right alignment. |
4 | CenterTop |
(0x00000004) Center top alignment, usually reserved for the orientation overlay text. |
5 | CenterLeft |
(0x00000005) Center left alignment, usually reserved for the orientation overlay text. |
6 | CenterRight |
(0x00000006) Center right alignment, usually reserved for the orientation overlay text. |
7 | CenterBottom |
(0x00000007) Center bottom alignment, usually reserved for the orientation overlay text. |
To set the overlay alignment, refer to Alignment.
For more information on overlay text, refer to OverlayText.
To add an overlay text to the frame, you need to create a add your instance of OverlayText to the collection Overlays.
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