'DeclarationFunction RetrieveThumbnailAsync( _ ByVal Viewport As Nullable(Of SKSizeI), _ ByVal Area As Nullable(Of SKRectI), _ ByVal StudyUID As String, _ Optional ByVal SeriesUID As String, _ Optional ByVal InstanceUID As String, _ Optional ByVal Frames As IEnumerable(Of Integer) _ ) As Task(Of Dictionary(Of HttpContentHeaders,Byte()))
'UsageDim instance As IWadoWebClient Dim Viewport As Nullable(Of SKSizeI) Dim Area As Nullable(Of SKRectI) Dim StudyUID As String Dim SeriesUID As String Dim InstanceUID As String Dim Frames As IEnumerable(Of Integer) Dim value As Task(Of Dictionary(Of HttpContentHeaders,Byte())) value = instance.RetrieveThumbnailAsync(Viewport, Area, StudyUID, SeriesUID, InstanceUID, Frames)
Task<Dictionary<HttpContentHeaders,byte[]>> RetrieveThumbnailAsync( Nullable<SKSizeI> Viewport, Nullable<SKRectI> Area, string StudyUID, string SeriesUID, string InstanceUID, IEnumerable<int> Frames )
Task<Dictionary<HttpContentHeaders^,array<byte>>^>^ RetrieveThumbnailAsync( Nullable<SKSizeI> Viewport, Nullable<SKRectI> Area, String^ StudyUID, String^ SeriesUID, String^ InstanceUID, IEnumerable<int>^ Frames )
Parameters
- Viewport
- The desired output size of the thumbnail. This specifies the width (vw) and height (vh) to which the image should be scaled.
- Area
- An optional rectangular area of the source image to crop before scaling. If specified, this defines the source x (sx), y (sy), width (sw), and height (sh).
- StudyUID
- The unique identifier of the study.
- SeriesUID
- The unique identifier of the series (optional).
- InstanceUID
- The unique identifier of the instance (optional).
- Frames
- The frames to retrieve.
Return Value
A byte array containing the thumbnail image.