Adds a tag (overlay text) to the cell.
public void SetTag(
int row,
MedicalViewerTagAlignment alignment,
MedicalViewerTagType type,
string userText,
Font font,
Color fontColor
)
Public Overloads Sub SetTag( _
ByVal row As Integer, _
ByVal alignment As Leadtools.Medicalviewer.MedicalViewerTagAlignment, _
ByVal type As Leadtools.Medicalviewer.MedicalViewerTagType, _
ByVal userText As String, _
ByVal font As Font, _
ByVal fontColor As Color _
)
public:
void SetTag(
int row,
Leadtools.Medicalviewer.MedicalViewerTagAlignment alignment,
Leadtools.Medicalviewer.MedicalViewerTagType type,
String^ userText,
Font^ font,
Color fontColor
)
row
The line at which the overlay text will be drawn.
alignment
The row parameter alignment.
type
The type of the tag.
userText
The user text.
font
The font that will be used to draw the tag over the cell.
fontColor
The color of the text.
The tag placement works by dividing the cell into rows (almost 30 rows) and 8 different alignments. For example:
If alignment is set to TopCenter, BottomCenter, CenterLeft, CenterRight, then row will not be used.
For more information, refer to Working With Annotations.
For an example, refer to Leadtools.MedicalViewer.MedicalViewer().
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