DicomObjects.NET10 Documentation
DicomObjects Namespace / DicomImage3D Class / CurrentPixelScale Method
The display area size.



In This Topic
    CurrentPixelScale Method
    In This Topic
    Gets the current pixel scale in world units.
    Syntax
    'Declaration
     
    
    Public Function CurrentPixelScale( _
       ByVal DisplaySize As SkiaSharp.SKSizeI _
    ) As SkiaSharp.SKSize
    'Usage
     
    
    Dim instance As DicomImage3D
    Dim DisplaySize As SkiaSharp.SKSizeI
    Dim value As SkiaSharp.SKSize
     
    value = instance.CurrentPixelScale(DisplaySize)
    public SkiaSharp.SKSize CurrentPixelScale( 
       SkiaSharp.SKSizeI DisplaySize
    )
    public:
    SkiaSharp.SKSize CurrentPixelScale( 
       SkiaSharp.SKSizeI DisplaySize
    ) 

    Parameters

    DisplaySize
    The display area size.

    Return Value

    The pixel scale in X and Y directions.
    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