Show preview file if exists or file icon.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- fileInfo
- Type: CMS.MediaLibrary MediaFileInfo
Media file info
- width
- Type: System Int32
Width of preview to display
- height
- Type: System Int32
Height of preview to display
- maxSideSize
- Type: System Int32
Max side size of preview to display
- previewSuffix
- Type: System String
Media file preview suffix
- iconSet
- Type: System String
Name of the subfolder where icon images are located
- page
- Type: System.Web.UI Page
Page
Return Value
Type: StringSee Also