FileController.GetAttachment Method

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

GetAttachment(int, string, int?, int?, string, string)

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

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

Parameters

id
int

Id of the attachment to return.

name
string

Filename without extension.

width
int?
height
int?
options
string
ext
string

Extension of desired output format.