Modify RibbonButton Large Image size

Modify RibbonButton Large Image size

orosztamas
Contributor Contributor
699 Views
1 Reply
Message 1 of 2

Modify RibbonButton Large Image size

orosztamas
Contributor
Contributor

Hello Everyone,

I'm trying to have a wider than 32 image as a 

RibbonButton.LargeImage

My button is set to about 100 width via a long name. The Revit API documentation describes the following:

Névtelen.png

 

 

What I experienced, that it has scaled my image to a width of 32, resulting it to be way smaller than my actual ribbon button, which behavour seems to be conflicting with the description.

Névtelen2.png

Is there a solution for this?

0 Likes
700 Views
1 Reply
Reply (1)
Message 2 of 2

jeremytammik
Autodesk
Autodesk

Nothing that I am aware of. The Revit API does not support this, afaik. You may possibly be able to use the .NET Windows.Forms and Automation libraries to achieve what you require.

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes