Leadtools.Dicom Namespace > DicomDataSet Class : SetVoiLut Method |
public void SetVoiLut( int index, DicomVoiLutAttributes attributes, int[] data )
'Declaration Public Sub SetVoiLut( _ ByVal index As Integer, _ ByVal attributes As DicomVoiLutAttributes, _ ByVal data() As Integer _ )
'Usage Dim instance As DicomDataSet Dim index As Integer Dim attributes As DicomVoiLutAttributes Dim data() As Integer instance.SetVoiLut(index, attributes, data)
public void SetVoiLut( int index, DicomVoiLutAttributes attributes, int[] data )
ObjectiveC Syntax
function Leadtools.Dicom.DicomDataSet.SetVoiLut( index , attributes , data )
public: void SetVoiLut( int index, DicomVoiLutAttributes^ attributes, array<int>^ data )
According to the DICOM standard, DicomVoiLutAttributes.NumberOfEntries should be set to 0 if the number of entries in the lookup table is 2^16; however, you should NOT do that when calling this method. This method will handle correctly setting the value inside the Data Set.
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