'Declaration
Public Overloads Overrides Function SubImage( _ ByVal Offset As System.Drawing.Point, _ ByVal Size As System.Drawing.Size, _ ByVal Magnification As System.Single, _ ByVal Frame As System.Integer, _ ByVal Scaling As ScaleMode _ ) As DicomImage
'Usage
Dim instance As DicomImageCurvedMPR Dim Offset As System.Drawing.Point Dim Size As System.Drawing.Size Dim Magnification As System.Single Dim Frame As System.Integer Dim Scaling As ScaleMode Dim value As DicomImage value = instance.SubImage(Offset, Size, Magnification, Frame, Scaling)
public override DicomImage SubImage( System.Drawing.Point Offset, System.Drawing.Size Size, System.float Magnification, System.int Frame, ScaleMode Scaling )
public function SubImage( Offset: System.Drawing.Point; Size: System.Drawing.Size; Magnification: System.Single; Frame: System.Integer; Scaling: ScaleMode ): DicomImage; override;
public override function SubImage( Offset : System.Drawing.Point, Size : System.Drawing.Size, Magnification : System.float, Frame : System.int, Scaling : ScaleMode ) : DicomImage;
public: DicomImage* SubImage( System.Drawing.Point Offset, System.Drawing.Size Size, System.float Magnification, System.int Frame, ScaleMode Scaling ) override
public: DicomImage^ SubImage( System.Drawing.Point Offset, System.Drawing.Size Size, System.float Magnification, System.int Frame, ScaleMode Scaling ) override
Parameters
- Offset
The left top corner point of the sub Image
- Size
The total size of the original image to capture
- Magnification
The zooming factor which determines the output size
- Frame
The frame number to use. This is 1-index, i.e. first frame is 1 not 0
- Scaling
The scaling mode to use