How could I set a spot color to particular percent value?

Hi,
In one of my samples PDFs I have this content part:
/OC /MC0 BDC
/CS0 cs 0.6 scn
/GS0 gs
0 0 283.46 283.46 re
f
EMC
How could I achieve the same value of '0.6' for some ColorSpace component with Acrobat SDK 9.x?
If I do usual Graphics state creation and then apply it to my object - I could only get this result:
/OC /MC0 BDC
/CS0 cs 0 scn
/GS0 gs
0 0 283.46 283.46 re
f
EMC
How could I get those 60%, i.e 0.6? I don't see that in obvoius way in PDEColorSpec structure.

Ok, I have an answer to my question. In short - you need to use PDEGraphicState filling logic as for DeviceCMYK, but with some caviats.
Hope one day Adobe will put that into his own Acrobat SDK docs/samples. Till then I'll charge 1/2 of their Developer Support case if anyone will need an answer from me.

Similar Messages

  • How do i set a multiple colors for a panel

    hi all,
    how do i set a multiple colors for a panel .pl desperately need a solution.
    regards
    bhaskar

    Iam contradicting self !
    Hope this helps !
    java.lang.Object
    |
    --java.awt.Component
    has the paint method ! Take the Graphics Object and call Graphics.setColor( Color.red ) .. and u can draw regular shapes like fillRoundRect. blah blah.. u need t count on the pixels .. I guess..
    An easier choice could be adding labels or panels with a layout of ur choice ..
    venu

  • How can i set the alternating colors for a table rows

    Dear All,
    Please any one help me how can i set the Alternating colors for Table Rows.
    i created a theam there i set the background alternating color to brown and i set the table design properity to alternating. but it is not reflecting.

    Hi,
    The design property in Table properties should work for your requirement. Select "alternating" value for design.
    Please see the API below:
    design
    Determines the appearance of the table. The property design can take the following values and is represented by enumeration type WDTableDesign.
    alternating - The table rows are displayed alternately in a different color.
    standard - The table background has one color. The individual table rows are displayed with grid net lines.
    transparent - The table background is transparent. The individual table rows are displayed without grid net lines.
    Check whether you have changed the right property or not? Also table should contain more than one rows to test this scenario.
    Regards,
    Jaya.
    Edited by: VJR on Jun 17, 2009 6:43 PM

  • How do you set the font color for a specific entire row inside a JTable?

    How do you set the font color for a specific entire row inside a JTable?
    I want to change the font color for only a couple of rows inside a JTable.
    I've seen some ways to possibly do this with an individual cell.
    Clarification on changing the font color in an individual cell would be helpful too if
    there is no easy way to do this for a row.

    hai,
    Try out with this piece of code.Create your table and assign the renderer to each column in the table.
    CellColorRenderer m_CellColorRenderer = new CellColorRenderer();
    for(int i=0;i<your_JTable.getColumnCount();i++)
    your_JTable.getColumnModel().getColumn(i).setCellRenderer(m_CellColorRenderer);
    class CellColorRenderer extends JLabel implements TableCellRenderer
    CellColorRenderer()     
    setOpaque(true);     
    setHorizontalAlignment(LEFT);
    setVerticalAlignment(CENTER);
    setBackground(Color.white);
    setForeground(Color.black);
    protected void setValue(Object value)
         setText((value == null) ? "" : value.toString());
    public Component getTableCellRendererComponent(JTable table,Object value,boolean isSelected, boolean hasFocus, int row,int column)
         if(isSelected == true)
              setForeground(Color.red);
         else
              setForeground(Color.black);
         setValue(value);
         return this;
    regards,
    bala

  • When I send messages off-line, they enter in the addressed mailbox with the date and hour which I've clicked "Send later". How could I set up to the real time?

    When I send messages off-line, they enter in the addressed mailbox with the date and hour which I've clicked “Send later”. How could I set up to the real time?

    What you say about Send Later timestamp is correct.
    When you click Send or Send Later a time is set regardless of when you actually sent the Send Later email.
    Please voice your vote at this link:
    https://bugzilla.mozilla.org/show_bug.cgi?id=560901
    You will need to logon/register.

  • How could I set a fixed window for all resulution?

    because I design the website in MAC when I transfer to PC it
    change shape
    how could I set a fixed size window for all resulution?

    Using layers for page layout is just asking for trouble.
    Trouble with
    centering content, and trouble with expanding text.
    Use tables until you can manage a proper CSS layout scheme,
    i.e., NOT
    layers. Start here -
    http://www.projectseven.com/tutorials/css/qdmacfly/index.htm
    http://www.macromedia.com/devnet/mx/dreamweaver/css.html
    http://www.macromedia.com/devnet/dreamweaver/articles/tableless_layout_dw8.html
    http://www.macromedia.com/devnet/dreamweaver/articles/css_concepts.html
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Media Fusion" <[email protected]> wrote in
    message
    news:[email protected]...
    > What would you suggest then, and why not layers? I am
    just going off of
    > what I
    > know and I am completly open for correction or cretique
    on process,
    > thought
    > process etc...
    >
    >
    quote:
    Originally posted by:
    Newsgroup User
    > Ugh.
    >
    > Layers? Surely you jest?
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "Media Fusion" <[email protected]>
    wrote in message
    > news:[email protected]...
    > > yes excatly, nothing should change when you bring
    the files from mac to
    > > pc, the
    > > only thing that may be a slight issue is how you
    coded the fonts for
    > > text.
    > > As
    > > long as you set it up with pretty universal fonts
    not much should
    > > change.
    > > I go
    > > cross platform all the time, code is code. If you
    want to really contain
    > > the
    > > positiong and location of your site design look in
    to using layers in
    > > combination with tables. That fixed my problem with
    how different
    > > browsers
    > >
    >
    >
    >
    >
    >
    >

  • Hi Edge community,  How can I set a custom colors

    Hi Edge community,
    How can I set a custom colors & font size
    to the Adobe Edge Animate CC 2014
    work space (stage, time lone, tools, etc...)
    to get something close to this?
    http://www.vrmall.eu/vr/EDGE_WORKSPACE_BLACK_n_WHITE/EDGE_WORKSPACE_BLACK_n_WHITE_r.01.jpg
    Thanks a lot for Your time and help.

    Hi Robyn_cpl,
    thanks for the useful link - based on this I decided to
    purchase the PDF of Adobe Edge Animate: The Missing Manual
    by Chris Grover. Good book indeed, work space panels resizing
    and docking are covered, but there is nothing on colors&fonts...
    I've been searching  intro's, tut's, forums on Edge, but no hint
    on this... But I keep searching You Tube, Google, etc...
    I'm intended to submit the subject to Adobe Edge Support.
    Thanks again for Your attention

  • How could I set the proxy settings for just some URLs and not for all?

    Hello,
    I am using HttpURLConnection to establish a HTTP connection . The connection pass through a proxy, and it requires security.
    I know that I can set the proxy settings in the system properties, and this works perfect.
    But I don't want to set the proxy settings in the system properties, because this proxy settings will be for ALL the URLs, and I just want for a few URLs.
    How could I set the proxy settings for just some URLs and not for all?
    Thanks

    java.net.URL.openConnection(java.net.Proxy proxy)
    @since 1.5

  • How could be set monthly schedule report for 6 month automatically??

    Hello Friends,
    I have to requirment for schedule report:Means when report has been montly schedule and
    user are gettiing report through email in pdf formate:But in bex query level Monthyear(selection) has set
    intervals.My question is how could be set interval(6 months) so,automatically every month
    report will be schudle .
    Example
    When Month year (Filter):201403 to 201408 (its for month August).
    But when month will be come september.So,Data will be come automatically like that Month year:201404 to 201409.
    So, kindly advice me ASAP.
    Regards,
    Wasem

    Hi Arrijit,
    Thanks for promt reply.
    I got your concept but actually i have to need data below example.
    If schedule report (In CMC) monthly through user will be get pdf format.
    If month August below example like that
    Monthyear   XYZ values
    201402         200
    201403         300
    201404          400
    201405        500
    201406          600
    201407          600
    same as above when  September(not manually ,should be dynamically) come below example like that
    Monthyear   XYZ values
    201403         300
    201404         400
    201405          500
    201406         600
    201407          600
    201408          700
    How could be do???
    Pls advice

  • How could I set 'Most visited' page as my homepage?

    How could I set 'Most visited' to my homepage? When I press 'New Tab' I got the 'Most visited' page. I want this when I start firefox.

    See http://www.google.com/support/toolbar/bin/answer.py?answer=115561 - Web-browsing tools : Google new tab page and most visited websites - Toolbar Help

  • How do I set the zoom at a particular level as the default to ensure pages are not too small and that i don't have to change the zoom for each page? in English

    How do I set the zoom at a particular level as the default to ensure pages are not too small and that i don't have to change the zoom for each page? in English
    == This happened ==
    Every time Firefox opened
    == From the beginning

    Some add-ons:
    Default FullZoom: https://addons.mozilla.org/en-US/firefox/addon/6965 (I use this one)
    No Squint: http://urandom.ca/nosquint/
    Also:
    http://support.mozilla.com/en-US/kb/Page+Zoom
    http://support.mozilla.com/en-US/kb/Text+Zoom
    http://kb.mozillazine.org/Browser.zoom.siteSpecific

  • Can I invoke a SubVI in an event? and how do I set the background color of a pipe to #0000ff?

    When I click an image or a glass pipe(which belongs to Industry/Chesmitry category in palette), I want a SubVI to be invoked.
    The purpose is to fetch an OPC-UA data from a web service and to write to it via the service.
    We are building an HMI solution which displays an interactive water plant diagram.
    When users click pipes and motors in the diagram, clicked devices should be turned on and off and change their animations or colors accordingly.
    OPC-UA is for communication with devices.
    I couldn't even set the background color of a pipe to "#0000ff", but setting it to "Red" or "Blue" was possible, and I don't know how to invoke SubVIs in event scripts.
    The documentations in NI.com are confusing and lack depth.
    Even silverlight references are confusing.
    How do I do all of these?

    Hi iCat,
    Can you provide some more information about your current implementation so that we can help to answer your questions. Some questions I have for you are:
    Are you creating this project in the NI LabVIEW Web UI Builder or in LabVIEW?
    How are you publishing your webservice? Is this also in LabVIEW?
    How is your webservice interacting with an OPC-UA server?
    How is the certification set up with OPC-UA so that you can communicate between the server and the client?
    Best Regards,
    Allison M.
    Applications Engineer
    National Instruments
    ni.com/support

  • How can I rasterize a spot color file without creating "border" pixels between areas that are adjacent to each other but should not be overlapping?

    We use Illustrator to create circuit layouts. For part of our process, we create an image of all of the layers using spot colors to show the printed layers overlapping each other. We then rasterize the file and send the image through a Matlab routine that performs some analysis of the circuits based on the colors of the pixels.
    In some cases, I have created images with areas next to each other, but not overlapping. When rasterizing the image, the rasterizing process appears to treat the borders as overlapping and creates a single pixel wide border between the 2 areas when there is none. This is playing havoc with our Matlab routine.
    I can manually go in and remove the rasterized border, however on some projects, this is a very lengthy process. Has anyone experienced anything like this, or have any ideas on how to prevent this?

    Would align to pixel grid help?
    Left is not aligned, Right is aligned to pixel grid

  • How do I set the background color of a page_item?

    I've been pasting "background-color:#5CD65C" in a number of places, like "HTML Table Cell Attributes" under the Label and the Element tabs, but get no results. Can anyone tell me how to set the background color of a cell, please?

    Hi Doug,
    Dynamic Actions is an alternative also, especially if it is conditional.
    Action Set Style
    Fire When Event Result Is True
    Style Name background-color
    Value #5CD65C
    Selection Type DOM Object
    DOM Object your item name
    Set your Condition Type and you have it.
    Jeff
    Edited by: jwellsnh on May 24, 2011 3:55 PM

  • How can I set the background color of JLabel?

    Can any one tell me how to set the background color of a JLabel?
    I have:
    JLabel prop = new JLabel("blahblah");
    prop.setBackground(Color.red);
    Thank you in advance...

    JLabel prop = new JLabel("blahblah");
    prop.setBackground(Color.red);
    prop.setOpaque(true);

Maybe you are looking for

  • RE  scanned documents ( image instead of PDF)

    I would like to know how with Windows 8 or why when I scan a document it comes as an image and not a PDF document directly. I have bought my computer 3 months ago and I set it up myself may be I have not done everything to be done. Thanks

  • Deleted attachments are not removed from Content Server

    We have setup Content Server to store business documents and create attachments in documents in CO. Both types are stored ok and can be opened without any problems. After deleting them though, they disappear from the Attachment List but when looking

  • IPod won't go online

    Fix for iPod Touch when it says you are connected to wifi but won't go on-line: Got this from Apple Phone help... unplug router under Settings/General tap reset restart router after a few minutes Under Setting/wifi select the network you are on and t

  • Problem in Servlet Clustering !

    Hi,           I have configured the WebLogic Server for Servlet Clustering. But how do I know that the servlet configuration is working?           I am using WebLogic 6.1 (sp2), I am using two different machines (NT WorkStations) as members of a clus

  • How do I make a panorama image in Elements 11 from 5 separate photos?

    How do I make a panorama image in Elements 11 from 5 seperate photos