DicomObjects.NET.V8
DicomObjects Namespace / DicomViewer Class / IsImageDisplayed Method / IsImageDisplayed(Int32,Rectangle) Method

The index of the Image within the Viewer's Images Collections.

The particular Area of the Image.




In This Topic
    IsImageDisplayed(Int32,Rectangle) Method
    In This Topic
    Specifies wether a particular Image, or part of the image is being displayed.
    Syntax
    'Declaration
     
    Public Overloads Function IsImageDisplayed( _
       ByVal Index As Integer, _
       ByVal Area As Rectangle _
    ) As Boolean
    'Usage
     
    Dim instance As DicomViewer
    Dim Index As Integer
    Dim Area As Rectangle
    Dim value As Boolean
     
    value = instance.IsImageDisplayed(Index, Area)
    public bool IsImageDisplayed( 
       int Index,
       Rectangle Area
    )
    public:
    bool IsImageDisplayed( 
       int Index,
       Rectangle Area
    ) 

    Parameters

    Index

    The index of the Image within the Viewer's Images Collections.

    Area

    The particular Area of the Image.

    Return Value

    bool
    Remarks
    This methods returns true, if the specified area of the indexed image from the Viewer's Images collection is being display. If an empty area is provided, then this method will return true if any part of the image, or the entire image, is being displayed on the Viewer.
    Requirements

    Target Platforms: .NET CLR 3.5 or higher

    See Also