Revit 2018 API |
RibbonButton..::..Image Property |
RibbonButton Class See Also |
The image of the button.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 18.0.0.0 (18.0.0.420)
Syntax
C# |
---|
public ImageSource Image { get; set; } |
Visual Basic |
---|
Public Property Image As ImageSource Get Set |
Visual C++ |
---|
public: property ImageSource^ Image { ImageSource^ get (); void set (ImageSource^ value); } |
Remarks
The image will be shown on the button if it is a part of a stacked set or if it is promoted to the
Quick Access Toolbar. The image should be 16 x 16 pixels. If the image is larger it will NOT be adjusted to fit the
button.