MediaFileInfo Constructor (HttpPostedFile, Int32, String, Int32, Int32, Int32, Int32) |
Note: This API is now obsolete.
Namespace: CMS.MediaLibrary
[ObsoleteAttribute("Use 'CMS.MediaLibrary.MediaFileInfo(CMS.Base.IUploadedFile, System.Int32, System.String, System.In32, System.In32, System.In32, System.In32)' instead. You can use the 'CMS.Base.UploadExtensions.ToUploadedFile' extensions method for converting 'System.Web.HttpPostedFile' to the 'CMS.Base.IUploadedFile'.")] public MediaFileInfo( HttpPostedFile postedFile, int libraryId, string librarySubfolder, int width, int height, int maxSideSize, int siteId )