LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
ToHexString Method
See Also 
Leadtools.Dicom Namespace > DicomTag Class : ToHexString Method



Returns a hexadecimal representation of the DicomTag. Supported in Silverlight, Windows Phone 7.

Syntax

Visual Basic (Declaration) 
Public Function ToHexString() As String
Visual Basic (Usage)Copy Code
Dim instance As DicomTag
Dim value As String
 
value = instance.ToHexString()
C# 
public string ToHexString()
C++/CLI 
public:
String^ ToHexString(); 

Return Value

A System.String that represents the hexadecimal value of the DicomTag

Example

For an example, refer to DicomTagTable.Reset.

Remarks

Use this method to return a hexadecimal string representation of the DicomTag. The string is 0 padded to nine characters, with a semi-colon separating the group and element numbers. For example, if DicomTag is DicomTag.PatientID (0x00100020), then ToHexString returns the string "0010:0020".

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

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