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 or sets a Size that gives the dimensions of the images that are displayed by the items in this RibbonGallery.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Property ItemImageSize As Size
Size ItemImageSize { get; set; }
Property Value
Type: System.Drawing.Size
A Size that gives the dimensions of the images that are displayed by the items in this RibbonGallery.
Remarks
The RibbonGallery interface gives more control over the image size than either RibbonMenu or RibbonSplitButton. It is the only one of the three interfaces that enables you to specify an image width and height in pixels.
This property does not affect the size of images displayed on buttons in this RibbonGallery.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools.Ribbon Namespace