LEADTOOLS Medical (Leadtools.Dicom assembly)

SetPaletteColorLutData Method

Show in webframe







Buffer that holds the "Palette Color Lookup Table Data" to set.
Type of palette color lookup table data to set.
Sets red, green or blue "Palette Color Lookup Table" data.
Syntax
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)
 function Leadtools.Dicom.DicomDataSet.SetPaletteColorLutData( 
   data ,
   type 
)
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

See Also

Reference

DicomDataSet Class
DicomDataSet Members
GetPaletteColorLutAttributes Method
GetPaletteColorLutData Method
SetPaletteColorLutAttributes Method
DeletePaletteColorLut Method

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features