DicomObjects.NET.V8
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 Size
    'Usage
     
    Dim instance As DicomImage
    Dim Viewer As DicomViewer
    Dim value As Size
     
    value = instance.CellSize(Viewer)
    public Size CellSize( 
       DicomViewer Viewer
    )
    public:
    Size 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: .NET CLR 4.0 or higher

    See Also