DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImageCurvedMPR Class / PixelToWorld Method






In This Topic
    PixelToWorld Method (DicomImageCurvedMPR)
    In This Topic
    Calculate the real world location of a point displayed on a 3D image
    Syntax
    'Declaration
     
    
    Public Function PixelToWorld( _
       ByVal Point As System.Drawing.PointF, _
       ByVal DisplaySize As System.Drawing.Size _
    ) As System.Windows.Media.Media3D.Point3D
    'Usage
     
    
    Dim instance As DicomImageCurvedMPR
    Dim Point As System.Drawing.PointF
    Dim DisplaySize As System.Drawing.Size
    Dim value As System.Windows.Media.Media3D.Point3D
     
    value = instance.PixelToWorld(Point, DisplaySize)
    public System.Windows.Media.Media3D.Point3D PixelToWorld( 
       System.Drawing.PointF Point,
       System.Drawing.Size DisplaySize
    )
    public function PixelToWorld( 
        Point: System.Drawing.PointF;
        DisplaySize: System.Drawing.Size
    ): System.Windows.Media.Media3D.Point3D; 
    public function PixelToWorld( 
       Point : System.Drawing.PointF,
       DisplaySize : System.Drawing.Size
    ) : System.Windows.Media.Media3D.Point3D;
    public: System.Windows.Media.Media3D.Point3D PixelToWorld( 
       System.Drawing.PointF Point,
       System.Drawing.Size DisplaySize
    ) 
    public:
    System.Windows.Media.Media3D.Point3D PixelToWorld( 
       System.Drawing.PointF Point,
       System.Drawing.Size DisplaySize
    ) 

    Parameters

    Point
    DisplaySize
    Remarks
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also