LEADTOOLS Medical (Leadtools.MedicalViewer assembly)

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

Show in webframe





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
) 

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

See Also

Reference

MedicalViewerBaseCell Class
MedicalViewerBaseCell Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 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