Constructor - creates a new MediaFileInfo object specified by its file physical path.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- path
- Type: System String
File physical path
- 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