DicomObjects.NET8 Documentation
DicomObjects Namespace / DicomDataSet Class / IsPresentationStateFor Method / IsPresentationStateFor(DicomDataSet,Int32) Method

The DicomImage to check for its InstanceUID

Specify which frame to check




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

    Parameters

    dicomDataSet

    The DicomImage to check for its InstanceUID

    Frame

    Specify which frame to check

    Return Value

    true if the presentation state 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also