summaryM:DotNetNuke.Web.UI.Utilities.CreateThumbnail(DotNetNuke.Services.FileSystem.FileInfo,System.Web.UI.WebControls.Image,System.Int32,System.Int32)

Namespace: DotNetNuke.Web.UI
Assembly: DotNetNuke.Web (in DotNetNuke.Web.dll)

Syntax

C#
public static void CreateThumbnail(
	FileInfo image,
	Image img,
	int maxWidth,
	int maxHeight
)
Visual Basic
Public Shared Sub CreateThumbnail ( 
	image As FileInfo,
	img As Image,
	maxWidth As Integer,
	maxHeight As Integer
)

Parameters

image
Type: DotNetNuke.Services.FileSystem..::..FileInfo
paramimageM:DotNetNuke.Web.UI.Utilities.CreateThumbnail(DotNetNuke.Services.FileSystem.FileInfo,System.Web.UI.WebControls.Image,System.Int32,System.Int32)
img
Type: System.Web.UI.WebControls..::..Image
paramimgM:DotNetNuke.Web.UI.Utilities.CreateThumbnail(DotNetNuke.Services.FileSystem.FileInfo,System.Web.UI.WebControls.Image,System.Int32,System.Int32)
maxWidth
Type: System..::..Int32
parammaxWidthM:DotNetNuke.Web.UI.Utilities.CreateThumbnail(DotNetNuke.Services.FileSystem.FileInfo,System.Web.UI.WebControls.Image,System.Int32,System.Int32)
maxHeight
Type: System..::..Int32
parammaxHeightM:DotNetNuke.Web.UI.Utilities.CreateThumbnail(DotNetNuke.Services.FileSystem.FileInfo,System.Web.UI.WebControls.Image,System.Int32,System.Int32)

See Also