jordan,
i remember figuring this out a couple of years ago, and it made perfect sense, but for the life of me i can't remember.
what is the format for provider colors stored in the db?
Provider Color -4602138 (??)
- jordansparks
- Site Admin
- Posts: 5770
- Joined: Sun Jun 17, 2007 3:59 pm
- Location: Salem, Oregon
- Contact:
Re: Provider Color -4602138 (??)
C# has two methods called Color.ToArgb() and Color.FromArgb(). We just use those. It packs the 4 color channels into the 32 bits using 8 bits per color.
Jordan Sparks, DMD
http://www.opendental.com
http://www.opendental.com