return width of image

Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static int GetWidth(
	string sPath
)
Visual Basic
Public Shared Function GetWidth ( 
	sPath As String
) As Integer

Parameters

sPath
Type: System..::..String
file path of image

Return Value

returnsM:DotNetNuke.Common.Utilities.ImageUtils.GetWidth(System.String)

See Also