Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
imagePath
Type: System.StringThe path to the image file.
Return Value
Type: System.Int32
The size of the image in Kbytes.