'Declaration
Public Overloads Function SubImage( _ ByVal Offset As SkiaSharp.SKPointI, _ ByVal size As SkiaSharp.SKSizeI, _ ByVal magnification As Single, _ ByVal frame As Integer _ ) As DicomImage
'Usage
Dim instance As DicomImage Dim Offset As SkiaSharp.SKPointI Dim size As SkiaSharp.SKSizeI Dim magnification As Single Dim frame As Integer Dim value As DicomImage value = instance.SubImage(Offset, size, magnification, frame)
public DicomImage SubImage( SkiaSharp.SKPointI Offset, SkiaSharp.SKSizeI size, float magnification, int frame )
public: DicomImage^ SubImage( SkiaSharp.SKPointI Offset, SkiaSharp.SKSizeI size, float magnification, int frame )
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
Return Value
A new DicomImage