DicomObjects.NET.V8
DicomObjects Namespace / DicomImage Class / Spacing Method / Spacing(Rectangle) Method
The Area for which the spacing should be calculated



In This Topic
    Spacing(Rectangle) 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 Rectangle _
    ) As SizeF
    'Usage
     
    Dim instance As DicomImage
    Dim Area As Rectangle
    Dim value As SizeF
     
    value = instance.Spacing(Area)
    public SizeF Spacing( 
       Rectangle Area
    )
    public:
    SizeF Spacing( 
       Rectangle 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: .NET CLR 4.0 or higher

    See Also