'DeclarationPublic Function RetrieveThumbnail( _ ByVal Viewport As System.Nullable(Of Size), _ ByVal Area As System.Nullable(Of Rectangle), _ ByVal StudyUID As System.String, _ Optional ByVal SeriesUID As System.String, _ Optional ByVal InstanceUID As System.String, _ Optional ByVal Frames As System.Collections.Generic.IEnumerable(Of Integer) _ ) As System.Collections.Generic.Dictionary(Of HttpContentHeaders,Byte())
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, defaults to 1.
Return Value
A byte array containing the thumbnail image.