'Declaration
Public Overridable Function ImageToWorld( _ ByVal ImageLocation As System.Drawing.PointF, _ Optional ByVal Viewer As DicomViewer _ ) As System.Nullable(Of Point3D)
'Usage
Dim instance As DicomImage Dim ImageLocation As System.Drawing.PointF Dim Viewer As DicomViewer Dim value As System.Nullable(Of Point3D) value = instance.ImageToWorld(ImageLocation, Viewer)
public virtual System.Nullable<Point3D> ImageToWorld( System.Drawing.PointF ImageLocation, DicomViewer Viewer )
public function ImageToWorld( ImageLocation: System.Drawing.PointF; Viewer: DicomViewer ): System.Nullable; virtual;
public function ImageToWorld( ImageLocation : System.Drawing.PointF, Viewer : DicomViewer ) : System.Nullable;
public: virtual System.Nullable<Point3D> ImageToWorld( System.Drawing.PointF ImageLocation, DicomViewer* Viewer )
public: virtual System.Nullable<Point3D> ImageToWorld( System.Drawing.PointF ImageLocation, DicomViewer^ Viewer )
Parameters
- ImageLocation
- location being calculated in image pixel coordinates
- Viewer
- The Viewer being used for display
Return Value
Note the use of image pixel coordinates, so you may wish to use DicomViewer.ImagePosition first.