'DeclarationPublic Overloads Overridable Function SubImage( _ ByVal offset As SkiaSharp.SKPointI, _ ByVal size As SkiaSharp.SKSizeI, _ ByVal magnification As Single, _ ByVal frame As Integer, _ ByVal scaleMode As ScaleMode _ ) As DicomImage
'UsageDim instance As DicomImage Dim offset As SkiaSharp.SKPointI Dim size As SkiaSharp.SKSizeI Dim magnification As Single Dim frame As Integer Dim scaleMode As ScaleMode Dim value As DicomImage value = instance.SubImage(offset, size, magnification, frame, scaleMode)
public virtual DicomImage SubImage( SkiaSharp.SKPointI offset, SkiaSharp.SKSizeI size, float magnification, int frame, ScaleMode scaleMode )
public: virtual DicomImage^ SubImage( SkiaSharp.SKPointI offset, SkiaSharp.SKSizeI size, float magnification, int frame, ScaleMode scaleMode )
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
- scaleMode
The scaling mode to use