Border color of free text Annotaion

Hello

I use the SDK for Acrobat 9.1 pro, writing a plugin in c ++. I would like to change the color of the border of a free text annotation. I tried a few techniques but they result only by changing the fill color of the annotation:

PDColorValueRec colourRed;
Memset (& colourRed, 0x00, sizeof (colourRed));
colourRed.space = PDDeviceRGB;
colourRed.value [0] = fixedOne;
colourRed.value [1] = fixedZero;
colourRed.value [2] = fixedZero;

PDAnnotSetColor (annot, & colourRed);

----------------------------------------------------------------------

CosObj arrayObj, floatObj;
arrayObj = CosNewArray (cDoc, false, 3);
CosArrayPut (arrayObj, 0, CosNewFloat (cDoc, false, 1));
CosArrayPut (arrayObj, 1, CosNewFloat (cDoc, false, 0));
CosArrayPut (arrayObj, CosNewFloat 2, (cDoc, false, 0));
CosDictPutKeyString ("C", annot, arrayObj);


I scanned the section of the PDF specification for dictionaries of the annotation, and it seems that the C key governs only the color of the border when the annotation is an annotation to link, and I can't find any other way to set the color of the border. Yet, I can always change the color of the border using Acrobat, which leads me to believe that it's done in a way not standard but nevertheless valid. The key to BS (borderstyle) does not define the style of the border but makes no mention of the border color.

I am doing the impossible?

Look at the value of the key of the DA the one created by Acrobat.

Tags: Acrobat

Similar Questions

  • Text field: Add the fill and border color to the text field

    Why I can not get my fields to be filled with a color or a colored border?
    This is my first form and it is quite complex, with formulas math etc, (which is great!) but I am wrestling

    in this last two text fields little I want to stand out from the rest of the form, because they

    are the boxes, Submit and Reset.

    If you get a color picker when you try to set the background and border colors, make sure that the check-box Transparent is not checked. If it isn't her, can you describe exactly how you are trying to change the colors?

  • Value selected in the drop-down list, the value border and subform border color

    OK, I'm busy to create a form that has a field drop-down list. There are five values inside the drop-down list. I have also four subforms which contain tables and fields for each option in the drop-down list except the first. Now, I want to put the border and the color of the border of the subform if you have selected the correct value.

    As part of the output, I created the code as follows:

    If (this.rawValue == '5') {}

    this.resolveNode("TextfieldName").presence = "visible"; This affects a visible text... works like a charm

    Optie1.UI.oneOfChild.border.color.value = "255,153,0"; After an example I found Niall

    Optie1.UI.oneOfChild.border.color.thickness = "0,0200" in

    }

    I've changed this in Optie1, is the name of the subform. Somehow it is not applied in the subform. I know I'm wrong, but can't find what I want on the forums. Someone at - it an idea on that?

    Well, managed to resolve myself to play around with the code.

    It should be:

    Optie1.border.edge.color.value and Optie1.border.edge.thickness.

  • Pages 5.6.2, cannot highlight and change the color of the text?

    I use pages 4.3 and earlier of passage to 5.6.2 - I just tried to highlight a word in a document and change the color - nothing happened.  Tried selecting the color first, and then type a new Word and that doesn't work either.  Am I missing something?  Is there any quick way to the color of the text in 5.6.2?

    To well highlight a word or a selection of words in the v5.6.2, Pages you will need to select the text, click the image below on the gear watch icon and set the fill color of your character. To remove the highlight, select your text, click in the ink of fill color of characters and click transparency icon in the lower right.

  • hands free texting while driving iphone6s w?

    I upgraded from the iphone iPhone 5 6s and I am now limited in hands-free SMS while driving.

    It works probably 1 out of 10 times.

    before, I hold down the button on my phone on the wheel, to make appear siri on my dashboard, then ask for the text to my contact.  I would like my text, then confirm, then the message is sent.

    now when I touch, rises in the mobile assistant, but siri said nothing and the microphone is dimmed, siri sense does not hear you.  every once in a while it works, but for the most part, when I run the command for siri / voice assistant, phone blue tooth disconnects and then reconnects.

    It was so convenient with my iphone 4 years, now with a brand new, I've lost this ability.

    I've read a few things about what is a 'known problem', but I don't buy it because apple has just had an update that does not solve the problem.

    chrismcclain077 wrote:

    I upgraded from the iphone iPhone 5 6s and I am now limited in hands-free SMS while driving.

    Which isn't a bad thing:

    http://www.ScientificAmerican.com/article/hands-free-texting-is-no-safer-to-use-certain time at the wheel.

    However, you can verify that your car system is up-to-date. Automakers are known for failing to keep up with that.

  • cannot add emoticons or change the color of the text when you write a message to send

    When I type a message to send. I can't change the color of the text, or if I add an emoticon. I can change the size of the letter, featuring bold, italic and underlined.

    If you mean an e-mail message, Firefox is not 'do' by email.

    If you use Firefox to access your e-mail, you use "webmail". You must seek assistance from your service provider or a forum for this service.

    If your problem is with Mozilla Thunderbird, let know us and we can move this thread to the queue of Thunderbird. This issue is currently in the queue of Firefox to get answers.

  • Is there a way to change the color of my text & fonts?

    I would like to change the color of my text that I added my thoughts in a response message, how can I do this?

    Thank you!!

    Eric

    You must compose messages in HTML format in order to apply the colors, styles, and other formatting. The default format is defined under the tools/account settings /accountname/Composition & address.

  • free text in the Apple health

    Is it possible to enter free text in the health of apple?

    Not as far as I know, but if you want this functionality, let Apple knowledge by using this link:

    Apple - iPhone - Feedback

  • How the color of the text that is created by CanvasDrawText() chang

    How the color of the text that is created by CanvasDrawText() chang?

    SetCtrlAttribute (Panel, PANEL_CANVAS, ATTR_PEN_COLOR, VAL_WHITE);

  • How programmatically change the color of the text in each cell in a table

    Assuming that if I have an array of 20 elements, table data type can be assumed for integer type string or, if it is possible to change the color of the text in a table running?

    The final result should be similar to this model: 0 to 5 in green, 6 to 10 items in orange, 11 and 19 elements in black color

    Items in a table share all properties except the 'value '. As a result, all the elements will always have the same color of the text/context...

    You can use a table instead for this purpose, but you'll have some overhead in order to create the layout you want to have (coloring, distribution, "work tables with strings, not numbers",...)

    hope this helps,

    Norbert

  • color of the text decoration, change programmatically

    Hello

    I have a VI with a text on it (not a chain). Is it possible to change the color of the text programmatically?

    I can change the color of the background of the text using nodes property to determine its decoration Ref, wiring and then the new values of color to the property "color".

    A similar stated is possible to set the color of the text?

    -i realize I could achieve something similar by replacing text areas FP with indicators of chain and ownership of wire knots, but would prefer not to have to at this stage!

    See you soon,.

    Blue

    Although the decoration of the façade have no icons of block diagram, it is possible to change some of their properties. If you access the list of properties of the Panel before decorations [], you can return references to each element of the façade decoration. However, the list of available properties for the decorations of the façade is limited, so identify your decoration will be difficult.

    One possibility would be to perform a cast of a decoration > classroom text and verify the error. If this means no error then you know you've found yourself a text decoration. Then, in a case of no error, check the text property against the decoration you are looking for. If it matches, change the color of the text property.

    Of course, don't forget to close all references (my example is unfinished, but works ok).

  • change the border color of an image control

    Hi all

    I shows 30 photos on the façade by using an image control. I want the user to select 12 peaks of 30 photos.

    is there an interactive way to show what image has been selected. I thought that it would be OK to change the color of the border of the control.

    I would like to know how to change the border color of th and you are really welcome if you have a better way to say what peak has been selected.

    Thank you

    Ritesh

    Hi Ritesh,

    in my LV7.1 installation I could change bordercolor using the tool to color in development mode, but I couldn't find a property to change the colors by programming...

    So my advice would be to put a little bigger Boolean flags (or color boxes) behind the indicators of the photo. When the image is clicked/selected just change you the color of the underlying Boolean value. In this way imitate you the colorchanging of an indicator of the photo border...

  • Background color of digital text on a digital element to a cluster.

    How to change the background color of digital text (NumText.BGColor property) on a digital element to a cluster?

    I see the property when a digital is autonomous, but do not see it when it is within a cluster.

    Just right click on the control inside the cluster and the property node create and select your property.

  • How to dynamically change the color of the text in the lookout?

    I wish that the color of the text to change according to a different value.  How can I do this at Lookout?

    I tried to find connections to text insertions and expressions but have failed.

    Thank you

    Dave

    Change the display text property, setting the Style of background as "Transparent".

    Create a gauge object. It is capable of changing color on different conditions. Put the gauge above the text display.

  • Solid color behind the text of the desktop icons

    Hello!

    Is it possible to have a solid color behind the text of the icons in Windows Vista/7/8/10 without using a third-party software?

    Thank you!

    See: http://answers.microsoft.com/en-us/windows/forum/windows_7-desktop/desktop-icon-font-color-how-do-i-change-the-font/ef5e2f24-e6c9-40a0-88a9-30bf8a69114a

Maybe you are looking for