LEADTOOLS Medical (Leadtools.Dicom assembly)
LEAD Technologies, Inc

SetPaletteColorLutData Method








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. .NET support WinRT support Silverlight support
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
)
ObjectiveC Syntax
 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: 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

See Also

Reference

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

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 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