C# Class Umbraco.FileSystemPicker.Controllers.FileSystemThumbnailApiController

Inheritance: Umbraco.Web.WebApi.UmbracoAuthorizedApiController
Afficher le fichier Open project: scyllagroup/UmbracoFlare

Méthodes publiques

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

Method Details

GetThumbnail() public méthode

public GetThumbnail ( string imagePath, int width ) : HttpResponseMessage
imagePath string
width int
Résultat System.Net.Http.HttpResponseMessage

ResizeKeepAspect() public static méthode

public static ResizeKeepAspect ( Size CurrentDimensions, int maxWidth, int maxHeight ) : Size
CurrentDimensions System.Drawing.Size
maxWidth int
maxHeight int
Résultat System.Drawing.Size