Reading the font color

Hi There
How can i read the font color (CMYK values) used on a specik character in a textbox.
I have tried using IDrawingStyle (optained from IComposeScanner) and used the style->GetColorUID(kTrue), but i cant get a IColorData interface on this UID. Any one knows how to solve this problem?

I have the same problem, have you resolved this problem?

Similar Messages

  • Change the font color of a text field in a table by key-combination

    I want to change the font color of a text field in a table (single cell only) on pressing a key combination. Does anybody know how to do this.
    I have a lot of data in a table. During an evaluation of the data in a meeting I want to change the color of the text depending on the result of the meeting. (for example: High risk = CTRL+R makes the text red).
    I know how to change the color using a button, but I do not want to add a button after each cell. For this reason I would like to do it on a key combination that alway refers to the active cell.
    Many thanks for your help in advance.
    Marcel

    Hi,
    I don't think you can use the ctrl key like that as those shortcuts will be intercepted by Reader (ctrl-R toggles the ruler display on / off).  You also might have trouble updating the color while you still have focus on it.  You can use the shift key in a similar way, so if you only have lower case characters in the text fields then you can do something like;
    if (xfa.event.shift)
        switch (xfa.event.change)
            case "R":
                this.fontColor = "255,0,0";
                break;
            case "O":
                this.fontColor = "255,102,0";
                break;
            case "G":
                this.fontColor = "0,255,0";
                break;
        xfa.event.change = ""; // ignore character
    If you need uppercase characters maybe you can have one button to set "review mode" and test that on the if (xfa.event.shift) line.  But again it wont take effect until you have tabbed out of the field.
    Regards
    Bruce

  • Is there a way to change the font color for emailing and the signature?

    Is there a way to change the font color with email signature on the iPhone and iPad?
    I changed the color in Word on my laptop, emailed and copied to my signature, but it converts it back to black........

    Looks like you didn't get a reply on your post, but it is still a problem.  Font size is supposedly changeable via "Accessibility" in Settings, but it doesn't work.  You can turn on "Zoom".

  • How do I change the font color in Live Type?

    How can I change the font color in Live Type?

    By trial and error, I also learned that the slide icon just to the right of the color box must be moved to the right in order for the new color to be visible. Of course, the amount to which the slide is moved determines the intensity of and color. Thanks for putting me on the right track (no pun intended).

  • How do you change the font color in CALL-OUT text boxes in PRO XI?

    How do you change the font color in CALL-OUT text boxes in PRO XI?

    It's not so simple to find it if you don't know what you're looking for... But it can be found via View - Show/Hide - Toolbar Items - Properties Bar.

  • In Dreamweaver 6, I created a new fluid layout. I set up (4) DIVs. In the 3rd div, I changed the font color. The new color shows up on the website when viewed in my computer desktop, but, when viewed in a tablet and a cell phone, the color of the font doe

    In Dreamweaver 6, I created a new fluid layout. I set up (4) DIVs. In the 3rd div, I changed the font color. The new color shows up on the website when viewed in my computer desktop, but, when viewed in a tablet and a cell phone, the color of the font does not change. It's the same in Dreamweaver's Live view. It shows the new color on Desktop view and not in the cell phone or tablet view. Also, I changed the font itself in one of the DIVs and it shows up in the new font on the desktop view and website viewed thru the computer, but, not on the tablet or cell phone. Can someone please explain. I want to be able to change the fonts and colors for viewing in the tablet and cell phone, also. The fonts were all standard fonts. Sans-erif and Verdana and Arial were tried. Thanks.

    I will lock this discussion because of duplicate post.

  • When composing an email, how do I highlight a word in yellow (NOT change the font color, just highlight)?

    On Windows when composing an email,  I would often highlight a word or sentence in yellow. I don't seem to have this option on my Mac Book Air toolbar as I did when I had on my laptop. How can I add this feature to my toolbar? I don't want to change the font color, just want to highlight a word within the email.
    Thank you,

    Browder-41 wrote:
    How to I copy a Word document into an email without losing the design and colors in the document.  When I copy and paste I only get the typed words.  No design or color.
    You may or may not be able to do this based on which e-mail client or webmail platform you're using.  In your email options, you'll want to have the option to paste it as rich-text or HTML.  If you only have the option for plain text then you're out of luck.

  • How to Change the Font Color in the Podcast Archive Subheadings

    If you go to pages.sparcc.org/The _Sanctuary, you will notice that the font colors in the subheadings are red. I was able to change them to the green everyone wanted except for the red "Archives". How can I change them?

    Unfortunately, the text stylings for both the main blog index page as well as the archive page are controlled by the template. If you want, you can edit the xml template files buried in the iWeb application itself, but there is no way to do this from within iWeb directly.

  • I just want to know that how to change the font color, font size, and forgr

    i just want to know that how to change the font color, font size, and forground color in JTextPane for the Selected text. i try diffrerent menthod like setFont and setColor, these methods change the fonts of the whole textpane. so please reply me as soon as possible, and thanks in advance.
    Moazzam

    Sell the Old one... Buy a New one...

  • Re: (forte-users) How do you change the font color onwindow.StatusText

    Hi Richard,
    In the init method insert the line
    <_StatusLine>.PenColor = C_BLUE ;
    This sets the pen color for the widget.
    StatusText is an attribute on the Window class that
    holds the value of the text. This value is then
    displayed in the specified data field that you assign.
    Hope this helps,
    Jairaj Rampershad
    System Consultant
    --- "Robinson, Richard"
    <[email protected]> wrote:
    I'm using Forte 3.0.G.2 and can't get the font color
    to change.
    I've followed the instructions in the help
    documentation by creating a data
    field widget (named it _StatusLine) and mapped it as
    a TextData. In my Init
    method I then have a chunk of code to set up the
    Window.StatusText. It
    looks like this:
    _StatusLine = new;
    Window.StatusText = _StatusLine;
    Once that's done the code updates Window.StatusText
    as needed. All this
    works fine except I can't get the font color
    changed. I've used the Window
    workshop to specify a color for the data field
    widget but it appears that
    the underlying Forte libraries has a mind of it's
    own. Any clues as what to
    do? All I'm trying to do is set the color to the
    default "information"
    color - which is blue.
    Thanks in advance
    For the archives, go to:
    http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To
    unsubscribe, send in a new
    email the word: 'Unsubscribe' to:
    [email protected]

    It's not so simple to find it if you don't know what you're looking for... But it can be found via View - Show/Hide - Toolbar Items - Properties Bar.

  • How do you change the font color on window.StatusTextattribute?

    I'm using Forte 3.0.G.2 and can't get the font color to change.
    I've followed the instructions in the help documentation by creating a data
    field widget (named it _StatusLine) and mapped it as a TextData.  In my Init
    method I then have a chunk of code to set up the Window.StatusText. It
    looks like this:
    _StatusLine = new;
    Window.StatusText = _StatusLine;
    Once that's done the code updates Window.StatusText as needed. All this
    works fine except I can't get the font color changed. I've used the Window
    workshop to specify a color for the data field widget but it appears that
    the underlying Forte libraries has a mind of it's own. Any clues as what to
    do? All I'm trying to do is set the color to the default "information"
    color - which is blue.
    Thanks in advance

    Are you trying to change the color of the text that you have added using the "Free Text" annotation tool?
    To change the text color to black
    Tap the text.
    Select Color... from the popup.
    Tap the black button in the Color Palette.
    Reader will remember the chosen color when you add a new Free Text annotation (the same type) next time.
    Please let us know if that is not what you are trying to do.

  • Setting the Font color.

    hello,
    Could someone tell me what the method is to change the Font color.

    Read the JComponent API. Check out the setForeground(...) method.

  • My wife is very color deficient and has a hard time with the font colors in call log. Any way to change and does Apple have plans to correct?

    My wife is color deficient and has a hard time with the font colors in the phone log and messaging. Is there any way to change color or background and does Apple have plans to correct this?

    There are some minor settings in Accessibility that you can look at, however it really isn't much for color changing. As far as what Apple might have in mind, we are not Apple here, we are users like you. It is against the terms of service to speculate what Apple might have in mind. If you want to provide feedback to Apple, that is done here: www.apple.com/feedback and click on the appropriate link.

  • After uploading to the cloud, i lost access to some of my songs. The library still shows the information and there is a cloud download icon but the font color would seem to indicate it has been deactivated (i.e. nothing happens when I click on it).

    After uploading to the cloud, i lost access to some of my songs. The library still shows the information and there is a cloud download icon but the font color would seem to indicate it has been deactivated (i.e. nothing happens when I click on it).

    Problem closed (although not resolved).  After working with Apple support, no resolution was found.  I asked for a refund of the iTunes match purchase price, which was granted.  Interestingly the support tech, who was very nice if not particularly helpful from a technical point of view, spun the "resolution" of refunding my iTunes match purchase price as a positive one, here is a quote from the final email
    "I'm glad to hear that you're not having issues with the songs you've purchased.  Nothing makes Apple happier than to hear that our customers concerns have been rectified."
    It is notable that I never had an issue downloading music directly purchased thru the iTunes store, the only issue that existed was downloading songs that I ripped from my CD collection and "matched". 
    I'm happy that I received my money back, however I wish that the iTunes Match service worked for me (I was looking forward to this service).  I'm most upset at the time I wasted trying to fix this problem.
    I'll now download music the old fashioned way: syncing with iTunes directly.

  • How to change the font color in a strict type def programatically

    Could someone suggest a way to change the font color of a string indicator in a strict type def cluster programmatically? The cluster contains a label that is color-coded to match the function of the data channel represented by that cluster.  The function of each channel is not predetermined, so the font color needs to be changed programmatically.  To represent all channels, I have arranged a large cluster that contains 100 instances of the control.  This makes it essential that the control be strictly type defined in order to change the layout of the clusters uniformly.
    Can anyone suggest either a method by which I can let the control remain a strict type def and change the font color, or a method by which I can programmatically change the control from a strict type def to a type def?  Currently, I am saving the control as a strict type def every time I make a change and then saving it again as a type def when I am ready to run the program.  This works fine, but just seems inelegant.  This color-coding is used throughout the program in various indicators, so a neat solution would be greatly appreciated.

    As mentioned in my Nugget on Type definitions you can create strict type-defs that contain type-defs.
    If you make your data definition a type and put that definition in a strict type-def (one of each flavor) you can use the appropraite strict type where each is required.
    Yes the data structure will have another level of nesting so if you are "too far gone" you may not like this idea.
    Otherwise you can write a VI that opens the typed-def and do a "save as..." and use it everytime you edit the type-def.
    I hope something helps!
    Ben
    Message Edited by Ben on 10-06-2008 10:26 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Strict_of_Typedefs.PNG ‏30 KB

Maybe you are looking for

  • Customer open balance analysis question

    Question: How do you easily track open balance of an invoice without using residuals? Scenario: Create invoice using transaction FB70 Apply a partial payment to the invoice or apply a credit memo to reduce the invoice balance. We do not want to use r

  • HT202213 There is NO Home Sharing ICON?!

    I just installed the latest version of iTunes on both of my computers, and setup/turned on Home Sharing on both of them.  I also signed them both into the iTunes store.  I cannot share anything! The tutorial says to open iTunes, and click on the Home

  • CS5.5 Air for iOs - Which iOs versions are supported?

    Hi everyone, I wanted to test the functionalities of the Cs5.5 exporter for iOS, by exporting a previous Flash game i made on my 2G iPod, with 4.2.1 iOs version installed. Since i wouldn't want to pay for the iOS developer certificate just for trying

  • How to save column widths in tag monitor and tag config editor?

    how to save column widths in tag monitor and tag config editor?

  • Portal logoff should Close or Exit from  the window

    Hi Friends, Please help me here, When user click on logoff or Exit from the portal the Window should be closed. (I disabled the popup message box , now I am trying to figured it out how to close the window) Please help me. Peter