DicomObjects.NET8 Documentation
DicomObjects Namespace / DicomImage Class / DisplaySize Method / DisplaySize(DicomViewer) Method
The Viewer being used to provide spacing etc.



In This Topic
    DisplaySize(DicomViewer) Method
    In This Topic
    The size at which this image, using current values for StretchMode etc. will display in this viewer.
    Syntax
    'Declaration
     
    
    Public Overloads Function DisplaySize( _
       ByVal Viewer As DicomViewer _
    ) As SkiaSharp.SKSizeI
    'Usage
     
    
    Dim instance As DicomImage
    Dim Viewer As DicomViewer
    Dim value As SkiaSharp.SKSizeI
     
    value = instance.DisplaySize(Viewer)
    public SkiaSharp.SKSizeI DisplaySize( 
       DicomViewer Viewer
    )
    public:
    SkiaSharp.SKSizeI DisplaySize( 
       DicomViewer^ Viewer
    ) 

    Parameters

    Viewer
    The Viewer being used to provide spacing etc.

    Return Value

    The size of the displayed image, in pixels
    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