Share via


SPMobileUtility.MaximumImageSize property

Gets the maximum size, in Kbytes, of any image that can appear on a mobile page.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared ReadOnly Property MaximumImageSize As Integer
    Get
'Usage
Dim value As Integer

value = SPMobileUtility.MaximumImageSize
public static int MaximumImageSize { get; }

Property value

Type: System.Int32
The maximum size in Kbytes.

Remarks

This property is a wrapper around the mobile_maximumimagesize_kilobyte value in the mobile web.config file.

See also

Reference

SPMobileUtility class

SPMobileUtility members

Microsoft.SharePoint.Utilities namespace