LEADTOOLS Medical (Leadtools.MedicalViewer assembly)
LEAD Technologies, Inc

SetTag(Int32,MedicalViewerTagAlignment,MedicalViewerTagType,String,Font,Color) Method






The line at which the overlay text will be drawn.
The row parameter alignment.
The type of the tag.
The user text.
The font that will be used to draw the tag over the cell.
The color of the text.
Adds a tag (overlay text) to the cell.
Syntax
public void SetTag( 
   int row,
   MedicalViewerTagAlignment alignment,
   MedicalViewerTagType type,
   string userText,
   Font font,
   Color fontColor
)
'Declaration
 
Public Overloads Sub SetTag( _
   ByVal row As Integer, _
   ByVal alignment As MedicalViewerTagAlignment, _
   ByVal type As MedicalViewerTagType, _
   ByVal userText As String, _
   ByVal font As Font, _
   ByVal fontColor As Color _
) 
'Usage
 
Dim instance As MedicalViewerBaseCell
Dim row As Integer
Dim alignment As MedicalViewerTagAlignment
Dim type As MedicalViewerTagType
Dim userText As String
Dim font As Font
Dim fontColor As Color
 
instance.SetTag(row, alignment, type, userText, font, fontColor)
public void SetTag( 
   int row,
   MedicalViewerTagAlignment alignment,
   MedicalViewerTagType type,
   string userText,
   Font font,
   Color fontColor
)
 function Leadtools.MedicalViewer.MedicalViewerBaseCell.SetTag(Int32,MedicalViewerTagAlignment,MedicalViewerTagType,String,Font,Color)( 
   row ,
   alignment ,
   type ,
   userText ,
   font ,
   fontColor 
)
public:
void SetTag( 
   int row,
   MedicalViewerTagAlignment alignment,
   MedicalViewerTagType type,
   String^ userText,
   Font^ font,
   Color fontColor
) 

Parameters

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.
Remarks
The tag placement works by dividing the cell into rows (almost 30 rows) and 8 different alignments. For example:
Example
For an example, refer to Leadtools.MedicalViewer.MedicalViewer().
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MedicalViewerBaseCell Class
MedicalViewerBaseCell Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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