DicomObjects.NET.V8
DicomObjects Namespace / DicomImage Class / CellLocation Method
The viewer to use for sizing etc.



In This Topic
    CellLocation Method
    In This Topic
    The location of the top-left corner of the cell within which this image would be displayed in a particular viewer
    Syntax
    'Declaration
     
    Public Function CellLocation( _
       ByVal Viewer As DicomViewer _
    ) As Point
    'Usage
     
    Dim instance As DicomImage
    Dim Viewer As DicomViewer
    Dim value As Point
     
    value = instance.CellLocation(Viewer)
    public Point CellLocation( 
       DicomViewer Viewer
    )
    public:
    Point CellLocation( 
       DicomViewer^ Viewer
    ) 

    Parameters

    Viewer
    The viewer to use for sizing etc.

    Return Value

    The location, in pixels, relative to the viewer
    Remarks
    If the Area property of the image is empty, then this will return the values bases on the position of the image within the viewer's Images collection, (using the Viewer's rows and columms), but if an explicit area is specified, then that is used instead.
    Requirements

    Target Platforms: .NET CLR 3.5 or higher

    See Also