Click or drag to resize
ImageHelperGetImage Method
Gets the image based on the file name. The method's return value is cached for 60 minutes.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public Image GetImage(
	string filename
)

Parameters

filename
Type: SystemString
File name

Return Value

Type: Image
Remarks
As the return value is cached, the returned Image is a shared resource. Performing any operation which modifies the image state has inherently side effects.
See Also