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

The zero based cell index within the Viewer.







In This Topic
    CellArea(Int32) Method
    In This Topic
    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)
    public System.Drawing.Rectangle CellArea( 
       System.int index
    )
    public function CellArea( 
        index: System.Integer
    ): System.Drawing.Rectangle; 
    public function CellArea( 
       index : System.int
    ) : System.Drawing.Rectangle;
    public: System.Drawing.Rectangle CellArea( 
       System.int index
    ) 
    public:
    System.Drawing.Rectangle CellArea( 
       System.int 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