DicomObjects.NET.V8
DicomObjects Namespace / DicomDataSet Class / IsPresentationStateFor Method / IsPresentationStateFor(DicomImage,Int32) Method

The DicomImage to check for its InstanceUID

Specify which frame to check




In This Topic
    IsPresentationStateFor(DicomImage,Int32) Method
    In This Topic
    Indicates if the PresentationState is for the specified DicomImage
    Syntax
    'Declaration
     
    Public Overloads Function IsPresentationStateFor( _
       ByVal Image As DicomImage, _
       ByVal Frame As Integer _
    ) As Boolean
    'Usage
     
    Dim instance As DicomDataSet
    Dim Image As DicomImage
    Dim Frame As Integer
    Dim value As Boolean
     
    value = instance.IsPresentationStateFor(Image, Frame)
    public bool IsPresentationStateFor( 
       DicomImage Image,
       int Frame
    )
    public:
    bool IsPresentationStateFor( 
       DicomImage^ Image,
       int Frame
    ) 

    Parameters

    Image

    The DicomImage to check for its InstanceUID

    Frame

    Specify which frame to check

    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. The frame number is also checked against the values specified in the PresentationState. This method returns true if the the values match, otherwise it returns false.
    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also