DicomObjects.NET.8.48 Documentation
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 System.Integer, _
       ByVal Area As System.Drawing.Rectangle _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As DicomViewer
    Dim Index As System.Integer
    Dim Area As System.Drawing.Rectangle
    Dim value As System.Boolean
     
    value = instance.IsImageDisplayed(Index, Area)
    public System.bool IsImageDisplayed( 
       System.int Index,
       System.Drawing.Rectangle Area
    )
    public function IsImageDisplayed( 
        Index: System.Integer;
        Area: System.Drawing.Rectangle
    ): System.Boolean; 
    public function IsImageDisplayed( 
       Index : System.int,
       Area : System.Drawing.Rectangle
    ) : System.boolean;
    public: System.bool IsImageDisplayed( 
       System.int Index,
       System.Drawing.Rectangle Area
    ) 
    public:
    System.bool IsImageDisplayed( 
       System.int Index,
       System.Drawing.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 4.8 or higher

    See Also