FileController.GetFile Method

Namespace:
Weavy.Web.Controllers
Assembly:
Weavy.Web.dll

GetFile(int, string, int?, int?, string, string)

Writes the binary data of the specified file to the output.

public void GetFile(int id, string name, int? width, int? height, string options, string ext)

Parameters

id
int

Id of the file to return.

name
string

Filename without extension.

width
int?
height
int?
options
string
ext
string

Extension of desired output format.