SPMobileUtility.GetImageSizeFromUri Method

Gets the size in Kbytes of the image file at the specified path.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Shared Function GetImageSizeFromUri ( _
    imagePath As String _
) As Integer
'Usage
Dim imagePath As String
Dim returnValue As Integer

returnValue = SPMobileUtility.GetImageSizeFromUri(imagePath)
public static int GetImageSizeFromUri(
    string imagePath
)

Parameters

Return Value

Type: System.Int32
The size of the image in Kbytes.

See Also

Reference

SPMobileUtility Class

SPMobileUtility Members

Microsoft.SharePoint.Utilities Namespace