Leadtools.Dicom Namespace > DicomDataSet Class : SetPaletteColorLutData Method |
public void SetPaletteColorLutData( int[] data, DicomPaletteColorLutType type )
'Declaration Public Sub SetPaletteColorLutData( _ ByVal data() As Integer, _ ByVal type As DicomPaletteColorLutType _ )
'Usage Dim instance As DicomDataSet Dim data() As Integer Dim type As DicomPaletteColorLutType instance.SetPaletteColorLutData(data, type)
public void SetPaletteColorLutData( int[] data, DicomPaletteColorLutType type )
public void setPaletteColorLutData(int[] data, DicomPaletteColorLutType paletteColorLutType)
public: void SetPaletteColorLutData( array<int>^ data, DicomPaletteColorLutType type )
Before calling this method you must call SetPaletteColorLutAttributes to set the attributes of the "Palette Color Lookup Table". Otherwise, this method will fail and throw a DicomExceptionCode.LutDescriptorMissing exception.