DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomDataSet Class / IsPresentationStateFor Method / IsPresentationStateFor(DicomImage) Method

The DicomImage to check for its InstanceUID







In This Topic
    IsPresentationStateFor(DicomImage) Method
    In This Topic
    Indicates if the PresentationState is for the specified DicomImage
    Syntax
    'Declaration
     
    
    Public Overloads Function IsPresentationStateFor( _
       ByVal Image As DicomImage _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As DicomDataSet
    Dim Image As DicomImage
    Dim value As System.Boolean
     
    value = instance.IsPresentationStateFor(Image)
    public System.bool IsPresentationStateFor( 
       DicomImage Image
    )
    public function IsPresentationStateFor( 
        Image: DicomImage
    ): System.Boolean; 
    public function IsPresentationStateFor( 
       Image : DicomImage
    ) : System.boolean;
    public: System.bool IsPresentationStateFor( 
       DicomImage* Image
    ) 
    public:
    System.bool IsPresentationStateFor( 
       DicomImage^ Image
    ) 

    Parameters

    Image

    The DicomImage to check for its InstanceUID

    Return Value

    true if the presentationstate matches the image
    Remarks
    The Image's InstanceUID is checked against the value specified in the PresentationState's referenced Image SOP Instance UID field. This method returns true if the two values match, otherwise it returns false.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also