LEADTOOLS Medical (Leadtools.MedicalViewer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
SetTag(Int32,MedicalViewerTagAlignment,MedicalViewerTagType) Method
See Also 
Leadtools.MedicalViewer Namespace > MedicalViewerBaseCell Class > SetTag Method : SetTag(Int32,MedicalViewerTagAlignment,MedicalViewerTagType) Method



row
The line at which the overlay text will be drawn.
position
The row parameter alignment.
type
The type of the tag.

The SetTag(Int32,MedicalViewerTagAlignment,MedicalViewerTagType) Method is available as an add-on to the LEADTOOLS Medical Imaging toolkits.

row
The line at which the overlay text will be drawn.
position
The row parameter alignment.
type
The type of the tag.
Adds a tag (overlay text) to the cell.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub SetTag( _
   ByVal row As Integer, _
   ByVal position As MedicalViewerTagAlignment, _
   ByVal type As MedicalViewerTagType _
) 
Visual Basic (Usage)Copy Code
Dim instance As MedicalViewerBaseCell
Dim row As Integer
Dim position As MedicalViewerTagAlignment
Dim type As MedicalViewerTagType
 
instance.SetTag(row, position, type)
C# 
public void SetTag( 
   int row,
   MedicalViewerTagAlignment position,
   MedicalViewerTagType type
)
C++/CLI 
public:
void SetTag( 
   int row,
   MedicalViewerTagAlignment position,
   MedicalViewerTagType type
) 

Parameters

row
The line at which the overlay text will be drawn.
position
The row parameter alignment.
type
The type of the tag.

Example

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

Remarks

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

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.MedicalViewer requires a Medical Imaging license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features