DicomObjects.NET.V8
DicomObjects Namespace / ColourPalettes Class / FromName Method
The name which identifies the palette



In This Topic
    FromName Method
    In This Topic
    Return a well-known-instance colour palette, from its official DICOM Name
    Syntax
    'Declaration
     
    Public Shared Function FromName( _
       ByVal Name As String _
    ) As IList(Of Color)
    'Usage
     
    Dim Name As String
    Dim value As IList(Of Color)
     
    value = ColourPalettes.FromName(Name)
    public static IList<Color> FromName( 
       string Name
    )
    public:
    static IList<Color>^ FromName( 
       String^ Name
    ) 

    Parameters

    Name
    The name which identifies the palette

    Return Value

    A 256 colour palette
    Remarks
    The supported names are
    • HOT_IRON
    • PET
    • HOT_METAL_BLUE
    • PET_20_STEP
    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also