←Select platform

SetTag(int,MedicalViewerTagAlignment,MedicalViewerTagType,string) Method

Summary

Adds a tag (overlay text) to the cell.

Syntax

C#
VB
C++
  
Public Overloads Sub SetTag( _ 
   ByVal row As Integer, _ 
   ByVal position As Leadtools.Medicalviewer.MedicalViewerTagAlignment, _ 
   ByVal type As Leadtools.Medicalviewer.MedicalViewerTagType, _ 
   ByVal userText As String _ 
)  
             

Parameters

row
The line at which the overlay text will be drawn.

position
The row parameter alignment.

type
The type of tag.

userText
The user text.

Remarks
  • The tag placement works by dividing the cell into rows (almost 30 rows) and 8 different alignments. For example:
    • If row is 3 and position is TopLeft, then the text will be placed at the 3rd row from the top of the cell, on the left side.
    • If row is 3 and position is BottomRight, then the text will be placed at the 3rd row from the bottom of the cell, on the right side.
    • If position is TopCenter, BottomCenter, CenterLeft, or CenterRight; then row will be not be used.
    • For more information, refer to Working With Annotations.
Example

For an example, refer to Leadtools.MedicalViewer.MedicalViewer().

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly