DicomObjects.NET10 Documentation
DicomObjects Namespace / DicomImage Class / CellSize Method
The viewer to use for sizing etc.



In This Topic
    CellSize Method
    In This Topic
    The size of the cell within which this image would be displayed in a particular viewer
    Syntax
    'Declaration
     
    
    Public Function CellSize( _
       ByVal Viewer As DicomViewer _
    ) As SkiaSharp.SKSizeI
    'Usage
     
    
    Dim instance As DicomImage
    Dim Viewer As DicomViewer
    Dim value As SkiaSharp.SKSizeI
     
    value = instance.CellSize(Viewer)
    public SkiaSharp.SKSizeI CellSize( 
       DicomViewer Viewer
    )
    public:
    SkiaSharp.SKSizeI CellSize( 
       DicomViewer^ Viewer
    ) 

    Parameters

    Viewer
    The viewer to use for sizing etc.

    Return Value

    The size, in pixels
    Remarks
    If the Area property of the image is empty, then this will always return the same size (area of the viewer divided by 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