DicomObjects.NET10 Documentation
DicomObjects Namespace / DicomImage3D Class / SubImage Method / SubImage(SKPointI,SKSizeI,Single,Int32,ScaleMode) Method
The offset in the display.
The size of the sub-image.
The magnification factor.
The frame number.
The scaling mode.



In This Topic
    SubImage(SKPointI,SKSizeI,Single,Int32,ScaleMode) Method
    In This Topic
    Creates a sub-image from the 3D volume.
    Syntax
    'Declaration
     
    
    Public 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 _
    ) As DicomImage
    'Usage
     
    
    Dim 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 value As DicomImage
     
    value = instance.SubImage(offset, size, magnification, frame, scaleMode)
    public override DicomImage SubImage( 
       SkiaSharp.SKPointI offset,
       SkiaSharp.SKSizeI size,
       float magnification,
       int frame,
       ScaleMode scaleMode
    )
    public:
    DicomImage^ SubImage( 
       SkiaSharp.SKPointI offset,
       SkiaSharp.SKSizeI size,
       float magnification,
       int frame,
       ScaleMode scaleMode
    ) 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.

    Return Value

    The new DICOM image representing the sub-image.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also