DicomObjects.NET8 Documentation
DicomObjects Namespace / DicomImage Class / Spacing Method / Spacing(SKRectI) Method
The Area for which the spacing should be calculated



In This Topic
    Spacing(SKRectI) Method
    In This Topic
    This method returns the Pixel Spacing within the region specified by Area
    Syntax
    'Declaration
     
    
    Public Overloads Function Spacing( _
       ByVal Area As SkiaSharp.SKRectI _
    ) As SkiaSharp.SKSize
    'Usage
     
    
    Dim instance As DicomImage
    Dim Area As SkiaSharp.SKRectI
    Dim value As SkiaSharp.SKSize
     
    value = instance.Spacing(Area)
    public SkiaSharp.SKSize Spacing( 
       SkiaSharp.SKRectI Area
    )
    public:
    SkiaSharp.SKSize Spacing( 
       SkiaSharp.SKRectI Area
    ) 

    Parameters

    Area
    The Area for which the spacing should be calculated

    Return Value

    The pixel spacing of the requested area
    Remarks
    This method returns the Pixel Spacing within a Region of the DicomImage. Note, one Image may have multiple regions with different pixel spacing values, so this method may return different values for different inputs.
    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