- data
- Buffer that holds the "Palette Color Lookup Table Data" to set.
- type
- Type of palette color lookup table data to set.
Visual Basic (Declaration) | |
---|---|
Public Sub SetPaletteColorLutData( _ ByVal data() As Integer, _ ByVal type As DicomPaletteColorLutType _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DicomDataSet Dim data() As Integer Dim type As DicomPaletteColorLutType instance.SetPaletteColorLutData(data, type) |
C# | |
---|---|
public void SetPaletteColorLutData( int[] data, DicomPaletteColorLutType type ) |
C++/CLI | |
---|---|
public: void SetPaletteColorLutData( array<int>^ data, DicomPaletteColorLutType type ) |
Parameters
- data
- Buffer that holds the "Palette Color Lookup Table Data" to set.
- type
- Type of palette color lookup table data to set.
For an example, refer to DicomDataSet.DeletePaletteColorLut.
This method will set the data for the "Red", "Green" or "Blue" "Palette Color Lookup Table".
Before calling this method you must call DicomDataSet.SetPaletteColorLutAttributes to set the attributes of the "Palette Color Lookup Table", otherwise this method will fail and throw a DicomExceptionCode.LutDescriptorMissing exception.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)