DicomObjects.NET.V8
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 Boolean
    'Usage
     
    Dim instance As DicomDataSet
    Dim Image As DicomImage
    Dim value As Boolean
     
    value = instance.IsPresentationStateFor(Image)
    public bool IsPresentationStateFor( 
       DicomImage Image
    )
    public:
    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 3.5 or higher

    See Also