DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImageCurvedMPR Class / CurrentPixelScale Method
Size of current display area






    CurrentPixelScale Method (DicomImageCurvedMPR)
    Current Pixel Size
    Syntax
    'Declaration
     
    
    Public Function CurrentPixelScale( _
       ByVal DisplaySize As System.Drawing.Size _
    ) As System.Drawing.SizeF
     
    'Usage
     
    
    Dim instance As DicomImageCurvedMPR
    Dim DisplaySize As System.Drawing.Size
    Dim value As System.Drawing.SizeF
     
    value = instance.CurrentPixelScale(DisplaySize)

    Parameters

    DisplaySize
    Size of current display area

    Return Value

    Size per pixel in mm (X and Y may differ)
    Remarks
    The DicomImage.DisplaySize method may be used to obtain the correct value of DisplaySize
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also