Setting Visio Control Color Properties

A

Asif

Hi All,

I want to change Visio Drawing and Stencil window color. I find that
following properties can be used for color settings

Application.Settings.StencilBackgroundColor
Application.Settings.DrawingBackgroundColor

These properties expect values in System.UInt32 format, where as I
have values in RGB Format. (Each has 0-255 integer value)

Can any one tell me about how to convert color values in RGB format to
System.UInt32 format?

Also can the color of Stencil Scroll bar, Stencil Name Header and
Visio Control Rulers be change?

Thanks

Asif
 
J

JuneTheSecond

I recommend to use Vb.net2005 or VB.net2005 express, they include all most
all methods and properties about colors and images.
Color.FromArgb (Int32) method makes color structure from RGB value.
VB.net2005 express is free softwere made by Microsoft.
 

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