'Declaration<AsyncStateMachineAttribute(DicomObjects.DicomWeb.WadoWebClient/d__14)> 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) _ ) As Task(Of Dictionary(Of HttpContentHeaders,Byte()))
'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 value As Task(Of Dictionary(Of HttpContentHeaders,Byte())) value = instance.RetrieveRenderedAsync(StudyUID, SeriesUID, InstanceUID, Frames, Viewport, Area)
[AsyncStateMachine(DicomObjects.DicomWeb.WadoWebClient/d__14)] public Task<Dictionary<HttpContentHeaders,byte[]>> RetrieveRenderedAsync( string StudyUID, string SeriesUID, string InstanceUID, IEnumerable<int> Frames, Nullable<SKSizeI> Viewport, Nullable<SKRectI> Area )
[AsyncStateMachine(DicomObjects.DicomWeb.WadoWebClient/d__14)] public: Task<Dictionary<HttpContentHeaders^,array<byte>>^>^ RetrieveRenderedAsync( String^ StudyUID, String^ SeriesUID, String^ InstanceUID, IEnumerable<int>^ Frames, Nullable<SKSizeI> Viewport, Nullable<SKRectI> Area )
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).
Return Value
List of images as byte[] and their media types