Returns expected size of the reconstructed view in the provided plane.
Syntax
'Declaration
Public Overloads Function GetPlaneSize( _
ByRef As Integer, _
ByRef As Integer, _
ByRef As Integer, _
ByRef As Integer, _
ByRef As Integer, _
ByRef As Integer, _
ByVal As ImGearMprViewType, _
ByVal As Boolean _
) As IImGearSize
'Usage
Dim instance As ImGearMprProcessor
Dim x1 As Integer
Dim y1 As Integer
Dim x2 As Integer
Dim y2 As Integer
Dim startPageNumber As Integer
Dim endPageNumber As Integer
Dim viewType As ImGearMprViewType
Dim rotateAxes As Boolean
Dim value As IImGearSize
value = instance.GetPlaneSize(x1, y1, x2, y2, startPageNumber, endPageNumber, viewType, rotateAxes)
Parameters
- x1
- Start X coordinate of the plane.
- y1
- Start Y coordinate of the plane.
- x2
- End X coordinate of the plane.
- y2
- End Y coordinate of the plane.
- startPageNumber
- Start position of the plane within the stack of images.
- endPageNumber
- End position of the plane within the stack of images.
- viewType
- Specifies on which view to perform calculation.
- rotateAxes
-
Indicates whether to rotate axes, so vertical axis becomes horizontal and vise versa.
Should be true when reconstructing sagittal view from coronal view, or axial and coronal views from saggital view; false otherwise.
Return Value
Expected size of the reconstructed view.
See Also