Visual Basic (Declaration) | |
---|---|
Public Overloads Sub SetTag( _ ByVal row As Integer, _ ByVal position As MedicalViewerTagAlignment, _ ByVal type As MedicalViewerTagType _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
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.
For an example, refer to _ctor
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family