Image Property


The image of the button.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 2015.0.0.0 (2015.0.0.0)

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.

See Also