Compartilhar via


extensionCustomMobileIcon object

Specifies the icons that will appear on the control depending on the dimensions and DPI of the mobile device screen. There must be exactly 9 icons.

Properties that reference this object type:

Syntax

{
  "size": {number},
  "url": "{string}",
  "scale": {number}
}

Properties

size

Size in pixels of the icon. The required sizes are 25, 32, and 48. There must be exactly one of each size for each possible value of the icons' scale property.

Type
number

Required

Constraints

Supported values
Allowed values: 25, 32, 48.

url

The full, absolute URL of the icon's image file.

Type
string

Required

Constraints
Maximum string length: 2048.

Supported values
The string must start with https://.

scale

Specifies the UIScreen.scale property for iOS devices. The possible values are 1, 2, and 3. There must be exactly one of each value for each possible value of the icons's size property.

Type
number

Required

Constraints

Supported values
Allowed values: 1, 2, 3.

Examples

{
    "customMobileRibbonGroups": [
      {
        "controls": [
          {
            "icons": [
              {
                "size": 16,
                "url": "test_16.png"
              },
              {
                "size": 32,
                "url": "test_32.png"
              },
              {
                "size": 80,
                "url": "test_80.png"
              }
            ]
          }
        ]
      }
    ]
}