How to write a region with white text?

I working on the following JavaScript code to write the left in the header of the PDF documents, but after you run the code, the redacted area is black, how can I write the area with white rectagles? Thank you very much!

for(var pg = 0; pg < this.numPages; pg++)
{
  var rCrop = this.getPageBox("Crop",pg);
  this.addAnnot({
  type:"Redact", page:pg,
  quads:[[0, rCrop[1], rCrop[2] - 345, rCrop[1], 0, rCrop[1] - 14, rCrop[2] - 345, rCrop[1] - 14]],
  overlayText: "",
  alignment: 1,
  repeat:true });
}
this.applyRedactions({bKeepMarks: false, bShowConfirmation: false, cProgText: "Processing..." });

Well done!

You can get the most recent versions of the API from here: JavaScript for Acrobat. Adobe Developer Connection

The API XI lie buried in the Acrobat SDK kit.

You will find new features in the section "new features and changes".

Tags: Acrobat

Similar Questions

  • How can I change the beige tabs with white text to the text of the tabs beige with black (or another dark color)?

    Classic restoration changed by FF 29 tabs beige with black text on the tab active and beige with white text on other open tabs. The white text is not visible. How can I change the text in white with a darker color?
    If this cannot be done, is there a way to reinstall FF 29 with just the security updates (and not all the other stuff) so that I can keep my 28 FF settings? Thank you.

    1. Open the modules (Ctrl + Shift + A Manager; Mac: Command + shift + A), then the Extensions category.
    2. Beside the classical restaurant theme, click on the Options button.
    3. Click the custom colors tab, then the less than (active/hover/default) tab.
    4. Below (active) tab, check 'Text', then click on the color swatch and choose black.
    5. Click the tab (unread) / new tab.
    6. (Unread) tab, check 'Text', then click on the color swatch and choose black.
  • setttings seem to have changed, now black background with white text. How do I change back? ___

    The settings seem to have changed (CAT sleeping on keyboard) wallpaper now black with white text and how the format appears on the screen has been altered.  How do I change back?

    The settings seem to have changed (CAT sleeping on keyboard) wallpaper now black with white text and how the format appears on the screen has been altered.  How do I change back?

    > How the format appears on the screen has been altered.
    I don't understand this part. Maybe you don't mind developed.

    Do a system restore. Pick a date before that happen as your restore point.
    Start button > Search box, type system restore > press the Enter key > uac prompt > click on choose a different restore point > next > select dates as your restore point, until the click > next > finish
    To sit and wait. The machine restarts when it's done.

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • Overprinting spot with white text color

    I have a problem that I have not faced many years and basically forgot to the solution. I have designed a work in color with white text on a green background, but the printer have now asked to provide the green like a spot with the "white" guy who comes out there. I guess that the white "knocks out" green but I don't see how to do this. I selected the type and set overprinting in the palette of colors but no - yes, you guessed it - it's now just a green. All suggestions welcome - I need it urgent that the printer needs the PDF separated this morning.

    Michael

    Set the fill color of the text as a hue of 0% of the task of green color.

  • Problems with white text and transparency from Photoshop to Acrobat

    Hello Adobe community!

    What I do: I have a design that I created in Photoshop CC. This design has a transparent background. I try to save it as a PDF in photoshop, so I am able to open it in Adobe Acrobat Pro XI and print it on a color with only design showing paper

    Question: When I open the PDF file in Acrobat. I see only my white text and a light outline on the part of my design and still not all the rest of the design.

    Then when I print it on paper to color only the text appears (with a black stroke) on paper with my crop marks, I've done in the design of the PS. also when the text becomes transparent for some reason any (showing the color of the paper through the race), even if the text was put to white and the PDF presents the white text printed on colored paper

    Here are my steps:

    1. create Design

    2. save under...

    3. save - under Photoshop PDF

    4 [] as a copy, not controlled

    5. [check] layers, checked

    6 OK

    7. the General settings-

    Adobe PDF preset: [print high quality]

    Standard: no

    Compatibility: Acrobat 9/10 (PDF 1.7 +)

    Preserve Photoshop editing capabilities, verified

    Embed page thumbnails, Unchecked

    Optimize for fast web viewing, Checked

    View the PDF after registration, unchecked

    8 - compression

    Compression: None

    The rest of the settings are default.

    9. open a PDF of the file

    10. printing with the default settings

    11. look at my design massacred in the press

    12 frustration continues

    If for any reason any its like Acrobat of 'ignore' the white in my design? I'm so confused, and I've been at this for hours, through the forum post after post on the forum and it seems that I do everything correctly, but I get anywhere with it.

    I hope that I have added all of the necessary information, it's my first time posting here.

    Any ideas on what I am doing wrong? Would someone mind looking at the file? any help would be much appreciated.

    Note: also, I inverted the whole design makes all black instead of all white people. followed the exact same steps as above, and it printed perfectly. My confusion/frustration continues.

    You wrote:... also when printed on the paper of the color the text become transparent for some reason any (showing the color of the paper through the race), even if the text was put to white and the PDF document shows the text white .


    You cannot print white using an inkjet or laser because it is not white ink or toner in the printer.

    White was to come from your document that should be white.

    All the presses and printers use CMYK inks or toner.

    What is the definition of white? C = 0, M = 0, Y = 0, K = 0 so not a single of any ink drop is hoisted on paper in an area that is supposed to be white...

    Of course it will show the color of the paper in the areas where there is no ink.

    When you see something white that is printed on paper dark special white Opaque spot on an offset press using a color...

    (there is a model unique inket Epson which can print ink that appears to be white.)  The model is $ 7,000 by the way. ink [White] is $350, all other inks are only $90)

    On the Epson website:

    Ink Epson UltraChrome HDR white introduced an all-new organic hollow resin particle technology, forcing the fire to disperse randomly, producing the illusion of seeing white color.

    Note that even only claims Epson, it produces the illusion of white.

    The only way around this problem is to print on paper white and printed the "paper color" everywhere on paper that doesn't have your elements of design. ".



  • How to write the condition with the value of the parameter

    Hello
    I'm working on siebel BI publisher report. I am able to display the value of the parameter in the report.

    Now, I wanted to do something logical based on the value of the parameter.

    for example: If the user changes the value of the parameter then I have to call A submodel if user don't past not any value then it should not display A submodel

    can someone tell me how to write that above logic?

    If the parameter exists then MODEL of APPEAL one another do not call MODEL A

    Kind regards
    JAG


    Dial a submodel

  • How to align the boxes with the text in the form?

    I'm most of the way, but I'm stuck fixing misalignments of formatting.

    1. what controls the small boxes? What is the best way to bring them into line with the text?

    2. the part of the form is controlled by some specific forms and part css getting inherited from the body. What is the best approach to ensure that they match?

    Finally found where to set them. I solved it by creating styles built on the contact page. Because it's the only place wherever they apply, I let probably them incorporated.

    We learn that we will!

  • [8i &amp; 10g XE] How to compare a column with the text of a column with numbers

    This is probably a simple question, but I can't seem to find the answer. I tried variations on use to_number to_char and interpreters, all nothing will do.

    The real problem is that I have a table with a column of numbers in a database 8i (datatype = NUMBER (3)) and a column with the text (datatype = CHAR (3)), and I need to compare two values.

    This table has thousands of lines, but here's an example of the data in these two columns:
    TXT     CHR
    -----------
    001     1
    001     2
    002     2
    XXX     1
    003     3
    What I want to do is select the lines where the TXT and CHR VALUES do not match, then it would be (given my example):
    TXT     CHR
    -----------
    001     2
    XXX     1
    But, I'm having difficulties in comparing two columns, because they are not the same type of data.

    I tried to work on a simplified version of the problem in the 8i database both my 10g XE database:
    SELECT     *
    FROM     (
         SELECT     1.000               AS nbr
         ,     TO_CHAR(1.000,'000')     AS txt
         ,     CAST('001' AS CHAR(3))     AS chr
         FROM     dual
         )
    WHERE     txt = chr
    ;
    But this also returns any line, and it isn't even the "XXX" in the text column to treat in this example.

    Can someone help me understand what it is that I'm missing?

    Thank you!

    Hello

    user11033437 wrote:
    This is probably a simple question...

    Simple if you know the secret; maddening if you do not have.

    ... I tried to work on a simplified version of the problem in the 8i database both my 10g XE database:

    SELECT     *
    FROM     (
         SELECT     1.000               AS nbr
         ,     TO_CHAR(1.000,'000')     AS txt
         ,     CAST('001' AS CHAR(3))     AS chr
         FROM     dual
         )
    WHERE     txt = chr
    ;
    

    Try:

    TO_CHAR (1.000, 'FM000')
    

    By default, TO_CHAR leaves place the beginning of the string to a sign less, in which case he should ever one, TO_CHAR (1,000, '000') returns makes 4 characters, not 3. "FM" in the format said TO_CHAR do not add a space.

    If it does not, after the release of DUMP (txt) for the few lines that you can't match, so that we can see exactly what is in them.

  • How to control the gutter with the text of the fractionating column?

    We're going to make a text box and fill it with text. Then, select text, and in the Options bar, choose Split 2 to cut some of the text in two columns box.

    Question: How can we control the width of the gutter of these columns to split? (I tried a lot of things without success.)

    If you're on a Mac, try the Option by clicking on the icon to the left of the drop-Split/Span. It took me a while to understand this problem myself.

  • How to write multiple entries with KHz sampling frequency in a file outside the loop?

    Hello

    I am able several entries of string tension using the wizard DAQ (1 sample on request) and it is placed inside a timed loop of frequency 1 KHz.

    This timed loop is placed inside an another while loop.

    Problem is with writing data to a file, although I can see 100 samples of 100 ms in the graphics cable to the out of the way, but the extent of writing to output file stores either only from 19 to 20 samples per second (when he wrote inside the timed loop) or does not store any (if placed outside the timed inner loop).

    I tried to set up producer consumer structure but in the loop of the consumer, I can't write the data in queue to a file saying data type mismatch. I placed the loop starting queue item and consumer out both loops and the element of queue inside the timed loop exit DAQ fed to the queue item.

    Can you please help me solve this problem file writing?

    I haven't looked so writing code from the top of the head, but access to the files is slow, and if you open and close the file, it is quite slow. What do you usually do it write to the file at a slower pace, for example once per second and write all the 1 k samples at a time. Try and also keep Ref file open during the test.

    /Y

  • How to write to .subckt with the function I - V

    Hi all

    Now, I am trying to build a Spice model for a type of diode high voltage for 13 Multisim. Because I do not have the LED electronic settings, and I only have the function of the I - V, I tried to write a file .subckt for him.

    Assuming that the anode is A1 and the cathode is A2, the current flowing through the diode can be expressed only by the function:

    I=((0.581*(V(A1)-V(A2))*(V(A1)-V(A2))/3/3-18.4*(V(A1)-V(A2))/3+144.66)/1000)*U((V(A1)-V(A2))-53)

    With her, I wrote a .subckt:

    . SUBCKT LED A1 A2
    B1 A2 A1 I=((0.581*(V(A1)-V(A2))*(V(A1)-V(A2))/3/3-18.4*(V(A1)-V(A2))/3+144.66)/1000)*U((V(A1)-V(A2))-53)
    . ENDS LED

    This model works well under the IV parser in Multisim 13, but when I connect 2 or 3 of them in series and make a simple circuit simulation, I always get the error report and not always not correct the error.

    Any body can help me to check if my .subckt is correct or not? Thank you.

    It seems that the convergence error is caused by a discontinuity the diode to connection 53V.  Run DC scan using the test circuit.

    To prevent the discontinuity, use the express following with the fi works instead. You can give it a small current when V (A1, A2) is less to 0V.

    B1 A1 A2 I=if(((V(A1)-V(A2))-51)>0,((0.581*(V(A1)-V(A2))*(V(A1)-V(A2))/3/3-18.4*(V(A1)-V(A2))/3+144.66)/1000),-230u)

    The attached circuit have a resistance using convergence.

    You can simplify your expression for readability:

    -(V, (A1), (A2) V) = V (A1, A2)

    -If you can do the expression in this form, it will simply be the calculation ax ^ 2 + bx + c

  • How can I remove the with help texts as "easy between applications.

    Just brought a n mobile win8 I can't delete "switching between applications" tab, it's like it has frozen on the screen.

    Its really annoying.

    If you can help leave a comment, it would be much appreciated.

    See you soon

    Hi Peter,.

    Welcome to the Microsoft community forums. I'm sorry to know that you are facing problems with the new computer of Windows 8.

    Normally, when you start the Windows 8.1, you get the default tips help. Follow the instructions on the tip and it should disappear and never come back.  How to make it go away is to just open the feature he's trying to teach you.

    Thus, for example in your case, you can get rid of it by moving your mouse pointer to the upper-left corner of the screen, then move down until the recent applications and click on one.

    If the problem persists, try restarting the computer once and check if help.

    I hope this helps. If you need help with Windows, let us know and will be happy to help you.

  • How to create the region with the region

    Hello

    Y at - it opportunities for the region created in another region in the apex oracle 4.2.2.

    If so, please advise how can I achieve this.

    Thank you and best regards,

    Ibrahim Sayyed.

    SAYYED says:

    Y at - it opportunities for the region created in another region in the apex oracle 4.2.2.

    Do you this by specifying a parent region during the creation of a region: on the creation of subregions

  • How to write superscript and lower inline text vertically?

    Hi, so what I try to write in illustrator is the following:

    subsup.png

    I tried to play with the vertical offset, etc. but have not understood anything either on that work really still.

    ekmanch

    Assuming that your original string is R'cu, R , you first apply baseline shift to cu, R (or R'), then place the cursor between ' and c and apply an appropriate kerning (negative) value.

  • How to jump a line with dynamic text in AS2

    Hello!

    I have another question, how skip a line using dynamic text? I want to do the following:

    -DYNAMIC TEXT-

    Title

    asdasd

    Maia

    asdasd

    -THE END OF THE DYNAMIC TEXT.

    I tried the following:

    _root. RLinfo = ' - Info--

    ";

    I get an error.

    This:

    _root. RLinfo = "-Info-                                                                                               asdasfasfsa"

    He will only jump 1 line.

    This is probably a very stupid question and has probably been answered a 1000000 times but I am too lazy to google it.

    Any help is appreciated, Erik

    You are welcome

Maybe you are looking for