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






In This Topic
    FromUID Method
    In This Topic
    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)
    public static System.Collections.Generic.IList<Color> FromUID( 
       System.string UID
    )
    public function FromUID( 
        UID: System.String
    ): System.Collections.Generic.IList; static; 
    public static function FromUID( 
       UID : System.String
    ) : System.Collections.Generic.IList;
    public: static System.Collections.Generic.IList<Color>* FromUID( 
       System.string* UID
    ) 
    public:
    static System.Collections.Generic.IList<Color>^ FromUID( 
       System.String^ 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