'DeclarationFunction RetrieveRenderedAsync( _ ByVal StudyUID As String, _ Optional ByVal SeriesUID As String, _ Optional ByVal InstanceUID As String, _ Optional ByVal Frames As IEnumerable(Of Integer), _ Optional ByVal Viewport As Nullable(Of SKSizeI), _ Optional ByVal Area As Nullable(Of SKRectI), _ Optional ByVal cancellationToken As CancellationToken _ ) As Task(Of IEnumerable(Of HttpContent))
'UsageDim instance As IWadoWebClient Dim StudyUID As String Dim SeriesUID As String Dim InstanceUID As String Dim Frames As IEnumerable(Of Integer) Dim Viewport As Nullable(Of SKSizeI) Dim Area As Nullable(Of SKRectI) Dim cancellationToken As CancellationToken Dim value As Task(Of IEnumerable(Of HttpContent)) value = instance.RetrieveRenderedAsync(StudyUID, SeriesUID, InstanceUID, Frames, Viewport, Area, cancellationToken)
Task<IEnumerable<HttpContent>> RetrieveRenderedAsync( string StudyUID, string SeriesUID, string InstanceUID, IEnumerable<int> Frames, Nullable<SKSizeI> Viewport, Nullable<SKRectI> Area, CancellationToken cancellationToken )
Parameters
- StudyUID
- The Requested StudyUID
- SeriesUID
- The Requested series UID (may be null/absent)
- InstanceUID
- The Requested instance UID (may be null/absent)
- Frames
- Viewport
- The desired output size of the render. 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).
- cancellationToken
- A token that may be used to cancel the retrieve operation
Return Value
List of HttpContent containing the mimetype and payload