DicomObjects.NET10 Documentation
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 SkiaSharp.SKPointI
    'Usage
     
    
    Dim instance As DicomImage
    Dim Viewer As DicomViewer
    Dim value As SkiaSharp.SKPointI
     
    value = instance.CellLocation(Viewer)
    public SkiaSharp.SKPointI CellLocation( 
       DicomViewer Viewer
    )
    public:
    SkiaSharp.SKPointI 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also