'Declaration<AsyncStateMachineAttribute(DicomObjects.DicomWeb.WadoWebClient/d__12)> Public Function 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 WadoWebClient 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)
[AsyncStateMachine(DicomObjects.DicomWeb.WadoWebClient/d__12)] public Task<IEnumerable<HttpContent>> RetrieveRenderedAsync( string StudyUID, string SeriesUID, string InstanceUID, IEnumerable<int> Frames, Nullable<SKSizeI> Viewport, Nullable<SKRectI> Area, CancellationToken cancellationToken )
[AsyncStateMachine(DicomObjects.DicomWeb.WadoWebClient/d__12)] public: 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
- The Frames to retrieve, defaults to 1
- 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 for user code to consume the payload