C# Class Umbraco.FileSystemPicker.Controllers.FileSystemThumbnailApiController

Inheritance: Umbraco.Web.WebApi.UmbracoAuthorizedApiController
ファイルを表示 Open project: scyllagroup/UmbracoFlare

Public Methods

Method Description
GetThumbnail ( string imagePath, int width ) : HttpResponseMessage
ResizeKeepAspect ( Size CurrentDimensions, int maxWidth, int maxHeight ) : Size

Method Details

GetThumbnail() public method

public GetThumbnail ( string imagePath, int width ) : HttpResponseMessage
imagePath string
width int
return System.Net.Http.HttpResponseMessage

ResizeKeepAspect() public static method

public static ResizeKeepAspect ( Size CurrentDimensions, int maxWidth, int maxHeight ) : Size
CurrentDimensions System.Drawing.Size
maxWidth int
maxHeight int
return System.Drawing.Size