Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
GetVoiLut Method
See Also 
Leadtools.Dicom Namespace > DicomDataSet Class : GetVoiLut Method



index
The zero-based index of the VOI LUT to retrieve. According to the DICOM standard, one or more items could exist under one VOI LUT Sequence (0028,3010); use this index to specify the item from which to retrieve the attributes.
index
The zero-based index of the VOI LUT to retrieve. According to the DICOM standard, one or more items could exist under one VOI LUT Sequence (0028,3010); use this index to specify the item from which to retrieve the attributes.
Retrieves the attributes that describe the VOI LUT.

Syntax

Visual Basic (Declaration) 
Public Function GetVoiLut( _
   ByVal index As Integer _
) As DicomVoiLutAttributes
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim index As Integer
Dim value As DicomVoiLutAttributes
 
value = instance.GetVoiLut(index)
C# 
public DicomVoiLutAttributes GetVoiLut( 
   int index
)
C++/CLI 
public:
DicomVoiLutAttributes^ GetVoiLut( 
   int index
) 

Parameters

index
The zero-based index of the VOI LUT to retrieve. According to the DICOM standard, one or more items could exist under one VOI LUT Sequence (0028,3010); use this index to specify the item from which to retrieve the attributes.

Return Value

The VOI LUT attributes.

Example

For an example, refer to VoiLutCount.

Remarks

Before calling this method, access VoiLutCount to see if a VOI LUT Sequence (0028,3010) exists in the DICOM Data Set and to obtain the number of items under that sequence.

index is zero-based. If you pass 0, this method will populate DicomVoiLutAttributes with the values of the "LUT Descriptor"(0028,3002) under the first item in the "VOI LUT Sequence" and DicomVoiLutAttributes.LutExplanation with the value of the "LUT Explanation" (0028,3003) element, if it exists.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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