'DeclarationPublic Overloads Overrides Function SubImage( _ ByVal offset As SkiaSharp.SKPointI, _ ByVal size As SkiaSharp.SKSizeI, _ ByVal magnification As Single, _ ByVal frame As Integer, _ ByVal scaleMode As ScaleMode, _ Optional ByVal cancellationToken As CancellationToken _ ) As DicomImage
'UsageDim instance As DicomImage3D Dim offset As SkiaSharp.SKPointI Dim size As SkiaSharp.SKSizeI Dim magnification As Single Dim frame As Integer Dim scaleMode As ScaleMode Dim cancellationToken As CancellationToken Dim value As DicomImage value = instance.SubImage(offset, size, magnification, frame, scaleMode, cancellationToken)
public override DicomImage SubImage( SkiaSharp.SKPointI offset, SkiaSharp.SKSizeI size, float magnification, int frame, ScaleMode scaleMode, CancellationToken cancellationToken )
public: DicomImage^ SubImage( SkiaSharp.SKPointI offset, SkiaSharp.SKSizeI size, float magnification, int frame, ScaleMode scaleMode, CancellationToken cancellationToken ) override
Parameters
- offset
- The offset in the display.
- size
- The size of the sub-image.
- magnification
- The magnification factor.
- frame
- The frame number.
- scaleMode
- The scaling mode.
- cancellationToken
- Cancellation token to terminate the call
Return Value
The new DICOM image representing the sub-image.