MagicCMS Documentation

Miniatura Constructor (String, Int32, Int32, DateTime)

Search a Miniatura in the database. If it does not exist create it.

Namespace:  MagicCMS.Core
Assembly:  MagicCMS.4.5 (in MagicCMS.4.5.dll)

Syntax


public Miniatura(
	string physicalPath,
	int width,
	int height,
	DateTime fileDate
)

Parameters

physicalPath
Type: String
The physical path.
width
Type: Int32
Width of the thumbnail.
height
Type: Int32
Height of the thumbnail. If the height is 0, it is automatically calculated and it is proportionally.
fileDate
Type: DateTime
The file date.