WorkSite Toolbar button
Options
Hello
I have project that integrate inside context menu into WorkSite by implementing IMANEXTLib.ICommand, how can I add my button to WorkSite toolbar?
http://devnet.interwoven.com/forums_vb/attachment.php?attachmentid=5885&stc=1
I have project that integrate inside context menu into WorkSite by implementing IMANEXTLib.ICommand, how can I add my button to WorkSite toolbar?
http://devnet.interwoven.com/forums_vb/attachment.php?attachmentid=5885&stc=1
0
Comments
-
Seems Bitmap property of ICommand interface must be set, to make toolbar icon visible, I try:
Assembly assem = Assembly.GetExecutingAssembly();
assem.GetManifestResourceStream("ResourceNameSpace.Image.bmp");
_Bitmap = new System.Drawing.Bitmap(stream);
But receive:
http://devnet.interwoven.com/forums_vb/attachment.php?attachmentid=5886&stc=1
Please advice what I am doing in wrong way.0 -
issue resolved by sending pointer to Bitmap property:
Assembly assem = Assembly.GetExecutingAssembly();
stream = assem.GetManifestResourceStream("resourcenamespace.image.bmp");
_Bitmap = new System.Drawing.Bitmap(stream).GetHbitmap();0 -
Thanks, had wondered about this!0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 103 General Questions
- 123 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax
TeamSite Developer Resources
If you are interested in gaining full access to the content, you can register for a My Support account here.
- Docker Automation
- LiveSite Content Services (LSCS) REST API
- Single Page Application (SPA) Modules
- TeamSite Add-ons
If you are interested in gaining full access to the content, you can register for a My Support account here.