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 )
ObjectiveC Syntax
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.
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