MediaFileInfo Constructor (String, Int32, String, Int32, Int32, Int32) |
Constructor - creates a new MediaFileInfo object specified by its file physical path.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
Syntax public MediaFileInfo(
string path,
int libraryId,
string librarySubfolder,
int width,
int height,
int maxSideSize
)
Parameters
- path
- Type: SystemString
File physical path - libraryId
- Type: SystemInt32
ID of the library the file will be assigned to - librarySubfolder
- Type: SystemString
Library subfolder path where file should be saved - width
- Type: SystemInt32
Width of the image - height
- Type: SystemInt32
Height of the image - maxSideSize
- Type: SystemInt32
Max side size of the image
See Also