How to set the custom icons to the stencil masters

K

Kiran Nakhate

Dear All,

Here, I am using Microsoft Visio 2003 ActiveX Control & Visio Control
Library version 11.0
Using this component, i want to set the custom icon to the Stencil Masters.

The following are the queries i want to clarify:

1) Can we directly import an icon, which is of .ico extension?
(or) "We have to always create an icon by exporting from the Master &
the same have to be used for importing". Why?

2) What is this TransparentRGB parameter in the ImportIcon method. How to
create this TranparentRGB
object. Actually, this parameter is optional in this COM control. If we
are using this functionality using the Interop, this is coming as
mandatory. Pl also let me know on this..

If you have a sample code on this import & export, Pl send it across...

Thanks & Regards,

Kiran Nakhate
Email: (e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top