A Sandcastle Documented Class Library

# ResourceController GetImageThumbnail Method

GET /Resource/ImageThumbnailFile/{id} Gets the thumbnail for the specified image as a file.

Namespace: Dundas.BI.WebApi.Controllers
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    [HttpGetAttribute]
    [ActionNameAttribute("ImageThumbnailFile")]
    public IActionResult GetImageThumbnail(
    	Guid id,
    	int? maxWidth = null,
    	int? maxHeight = null,
    	Guid? sessionId = null
    )

    <HttpGetAttribute>
    <ActionNameAttribute("ImageThumbnailFile")>
    Public Function GetImageThumbnail (
    	id As Guid,
    	Optional maxWidth As Integer? = Nothing,
    	Optional maxHeight As Integer? = Nothing,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpGetAttribute]
    [ActionNameAttribute(L"ImageThumbnailFile")]
    IActionResult^ GetImageThumbnail(
    	Guid id,
    	Nullable<int> maxWidth = nullptr,
    	Nullable<int> maxHeight = nullptr,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpGetAttribute>]
    [<ActionNameAttribute("ImageThumbnailFile")>]
    member GetImageThumbnail :
            id : Guid *
            ?maxWidth : Nullable<int> *
            ?maxHeight : Nullable<int> *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _maxWidth = defaultArg maxWidth null
            let _maxHeight = defaultArg maxHeight null
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

id
  Type: System
  Guid
  The ID of the image resource.
maxWidth (Optional)
  Type: System
  Nullable
  Int32
  The maximum width, if any.
maxHeight (Optional)
  Type: System
  Nullable
  Int32
  The maximum height, if any.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  The ID of the session.

#### Return Value

Type: IActionResult
A status code indicating success and the file, or a failure reason.
See Also

#### Reference

ResourceController Class
Dundas.BI.WebApi.Controllers Namespace