AttachmentHelperGetFullFileName Method |
Returns full file name ([name.extension] if extension is specified) or ([name] only if extension is not specified), If width and height are specified, thumbnail file name is generated.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax public static string GetFullFileName(
string fileName,
string fileExtension,
int width = 0,
int height = 0
)
Parameters
- fileName
- Type: SystemString
File name - fileExtension
- Type: SystemString
File extension - width (Optional)
- Type: SystemInt32
Image width - height (Optional)
- Type: SystemInt32
Image height
Return Value
Type:
StringSee Also