DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / ColourPalettes Class / FromUID Method
The UID which identifies the palette






    FromUID Method
    Return a well-known-instance colour palette, from its official DICOM UID
    Syntax
    'Declaration
     
    
    Public Shared Function FromUID( _
       ByVal UID As System.String _
    ) As System.Collections.Generic.IList(Of Color)
     
    'Usage
     
    
    Dim UID As System.String
    Dim value As System.Collections.Generic.IList(Of Color)
     
    value = ColourPalettes.FromUID(UID)

    Parameters

    UID
    The UID which identifies the palette

    Return Value

    A 256 colour palette
    Remarks
    The UIDs as of the form: 1.2.840.10008.1.5.X
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also