Constructor - creates a new MediaFileInfo object from posted file.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- postedFile
- Type: System.Web HttpPostedFile
Posted file
- libraryId
- Type: System Int32
ID of the library the file will be assigned to
- librarySubfolder
- Type: System String
Library subfolder path where file should be saved
- width
- Type: System Int32
Width of the image
- height
- Type: System Int32
Height of the image
- maxSideSize
- Type: System Int32
Max side size of the image
See Also