Wednesday, March 2, 2011

Style the Ribbon

The Building Coder shows some fun coding trix to put color and style to the Ribbon in AutoCAD and Revit.

Using the AdWindows.dll assembly, we can access the ribbon control like this:

using Autodesk.Windows;

RibbonControl ribbon = ComponentManager.Ribbon;

As seen below the panel background image, panel headers, tab header font and more can be changed.

No comments:

Post a Comment

Subscribe to the comments feed

Some of the latest blog posts

Subscribe to RSS headline updates from:
Powered by FeedBurner

Contact Us | About JTB World | Subscribe to this blog
JTB World's website | Website General Terms of Use | Privacy Policy
^ Top of page

© 2004- JTB World. All rights reserved.