DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomViewer Class / CellArea(Int32) Method

The zero based cell index within the Viewer.







    CellArea(Int32) Method
    Returns a rectangle representing the specified cell.
    Syntax
    'Declaration
     
    
    Public Function CellArea( _
       ByVal index As System.Integer _
    ) As System.Drawing.Rectangle
     
    'Usage
     
    
    Dim instance As DicomViewer
    Dim index As System.Integer
    Dim value As System.Drawing.Rectangle
     
    value = instance.CellArea(index)

    Parameters

    index

    The zero based cell index within the Viewer.

    Return Value

    Rectangle
    Remarks
    If invalid cell index provided, then an empty Rectangle will be returned, otherwise a rectangle with the same size of the specified cell will be returned.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also