B
Big Dave
I'm going insane!!!!!
I set a font color using documentDOTexecuteCommand("ForeColor").
That works, but now I'm trying to read the color in another method. I
used documentDOTqueryCommandValue("ForeColor"). This method just
returns a number, and I can't figure out what the numbers are. I know
they have something to do with a color, but without knowing what they
are, it's hard to find help on how to convert them to something I can
use (hex, rgb). Here are two examples:
(Green returns 32768, Blue returns 16711689)
So, does anybody a)know what these numbers are? b)know how to convert
them to something more useful, or c)know how to generate these numbers
from a System.Drawing.Color in c#?
NOTE: DOT is due to the "no code" error on devdex. I didn't think I'd
get away with the real dots. Thank you in advance for your help!
Big Dave
I set a font color using documentDOTexecuteCommand("ForeColor").
That works, but now I'm trying to read the color in another method. I
used documentDOTqueryCommandValue("ForeColor"). This method just
returns a number, and I can't figure out what the numbers are. I know
they have something to do with a color, but without knowing what they
are, it's hard to find help on how to convert them to something I can
use (hex, rgb). Here are two examples:
(Green returns 32768, Blue returns 16711689)
So, does anybody a)know what these numbers are? b)know how to convert
them to something more useful, or c)know how to generate these numbers
from a System.Drawing.Color in c#?
NOTE: DOT is due to the "no code" error on devdex. I didn't think I'd
get away with the real dots. Thank you in advance for your help!
Big Dave