←Select platform

SetPaletteColorLutData Method

Summary

Sets red, green or blue "Palette Color Lookup Table" data.

Syntax
C#
VB
C++
Java
public void SetPaletteColorLutData( 
   int[] data, 
   DicomPaletteColorLutType type 
) 
Public Sub SetPaletteColorLutData( _ 
   ByVal data() As Integer, _ 
   ByVal type As DicomPaletteColorLutType _ 
)  
public void setPaletteColorLutData(int[] data, DicomPaletteColorLutType paletteColorLutType) 
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.

Remarks

This method will set the data for the "Red", "Green" or "Blue" "Palette Color Lookup Table". 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.

Example

For an example, refer to DeletePaletteColorLut.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly