←Select platform

SetPaletteColorLutData Method

Summary

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

Syntax

C#
VB
Java
WinRT C#
C++
public void SetPaletteColorLutData( 
   int[] data, 
   DicomPaletteColorLutType type 
) 
Public Sub SetPaletteColorLutData( _ 
   ByVal data() As Integer, _ 
   ByVal type As Leadtools.Dicom.DicomPaletteColorLutType _ 
)  
public void SetPaletteColorLutData(  
   int[] data, 
   Leadtools.Dicom.DicomPaletteColorLutType type 
) 
public void setPaletteColorLutData(int[] data, DicomPaletteColorLutType paletteColorLutType) 
 function Leadtools.Dicom.DicomDataSet.SetPaletteColorLutData(  
   data , 
   type  
) 
public: 
void SetPaletteColorLutData(  
   array<int>^ data, 
   Leadtools.Dicom.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly