ImageHelperGetImage Method |
Gets the image based on the file name. The method's return value is cached for 60 minutes.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax public Image GetImage(
string filename
)
Parameters
- filename
- Type: SystemString
File name
Return Value
Type:
ImageRemarks
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