Constructor - creates a new MediaFileInfo object from posted file.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.0.0.0 (8.1.5347.20411)
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
- siteId
- Type: System Int32
ID of the site new media file is related to
See Also