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
}
-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 and add your instance of OverlayText to the collection Overlays.
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