Watermark display distorted in Acrobat 8 when angle > 0

Ask a Question related to Adobe Acrobat SDK, Design and Development.

  1. #1

    Default Watermark display distorted in Acrobat 8 when angle > 0

    We are adding Watermark to a PDF document with below code. When that doc is opened in Acrobat 7.0 Standard the display is correct. But the same document if opened in Acrobat 8 prof. the WaterMark display location is different and not proper as expected. This happens only if we input angle > 0 in degree param of PDDocAddWatermarkParamsRec.

    Kindly let us know why it is happening so and a way to make the display same in both Acrobat7 and Acrobat8.

    PDPageRange pdPageRange;
    memset(&pdPageRange, 0x00, sizeof(pdPageRange));
    pdPageRange.startPage = pWaterMarkObj->lStartPageIdx;
    pdPageRange.endPage = pWaterMarkObj->lEndPageIdx;
    pdPageRange.pageSpec = PDAllPages;
    memset(&objAddWatermarkParamsRec, 0x00, sizeof(PDDocAddWatermarkParamsRec));
    objAddWatermarkParamsRec.size = sizeof(objAddWatermarkParamsRec);
    objAddWatermarkParamsRec.targetRange = pdPageRange;
    objAddWatermarkParamsRec.fixedPrint = FALSE;
    objAddWatermarkParamsRec.zOrderTop = FALSE;
    objAddWatermarkParamsRec.showOnScreen = TRUE;
    objAddWatermarkParamsRec.showOnPrint = TRUE;
    objAddWatermarkParamsRec.horizAlign = pWaterMarkObj->eWTMHorziAlign;
    objAddWatermarkParamsRec.vertAlign = pWaterMarkObj->eWTMVertAlign;
    objAddWatermarkParamsRec.horizValue = (float)pWaterMarkObj->lHorizValue;
    objAddWatermarkParamsRec.vertValue = (float)pWaterMarkObj->lVertValue;
    objAddWatermarkParamsRec.percentageVals = FALSE;
    objAddWatermarkParamsRec.scale = pWaterMarkObj->fScale;
    objAddWatermarkParamsRec.rotation = pWaterMarkObj->fRotation;
    objAddWatermarkParamsRec.opacity = pWaterMarkObj->fOpacity;
    objAddWatermarkParamsRec.progMonData = NULL;
    objAddWatermarkParamsRec.cancelProcData = NULL;
    objAddWatermarkParamsRec.progMon = NULL;
    objAddWatermarkParamsRec.cancelProc = NULL;
    Periyannan_Muthaiah@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. how to add watermark to a pdf document in acrobat 5.0 or 6.0?
      in acrobat 7.0 ,i can use the method addwatermarkfromfile,but it is not available in acrobat 5.0 or 6.0,is there any other method to instead of it?
    2. Use Reader to display in IE, not Acrobat
      I have both Reader and Acrobat (both version 6) installed. I have set Reader as the default program when double clicking on .pdf files. This works...
    3. Display distortion upon lauching Acrobat
      I am experiencing the same problem with Windows XP while running Acrobat 5. There are similar threads here about it too. Shawn A Reed "Monitor...
    4. Acrobat 6 Help Display
      Thank you all for your input. We got a bit off topic, but I gather from the responses, that the fonts cannot be changed. For a company in graphic...
    5. Display colors distorted
      I have elements 1.0 I think. When go to help-about elements it does not give a rev #. It has workd well for the last 18 months- I've done about 5000...
  3. #2

    Default Re: Watermark display distorted in Acrobat 8 when angle > 0

    What version of Acrobat and what version of the SDK are you using to invoke that code?
    Leonard_Rosenthol@adobeforums.com Guest

  4. #3

    Default Re: Watermark display distorted in Acrobat 8 when angle > 0

    Acrobat 8.1.2 Prof and SDK version 8
    Periyannan_Muthaiah@adobeforums.com Guest

  5. #4

    Default Re: Watermark display distorted in Acrobat 8 when angle > 0

    So then where does Acrobat 7 come in?
    Leonard_Rosenthol@adobeforums.com Guest

  6. #5

    Default Re: Watermark display distorted in Acrobat 8 when angle > 0

    I am using a Plug In developed with SDK version 8 and inserting the Watermark. If the PDF doc is opened in Acrobat 7 standard the display is correct and in Acrobat 8 prof the display is not proper.
    PDF has the same Watermark data but the display is differing.

    What change I should do in Plug In code given above, to make both displays same.
    Periyannan_Muthaiah@adobeforums.com Guest

  7. #6

    Default Re: Watermark display distorted in Acrobat 8 when angle > 0

    Can you post/send me a sample PDF?
    Leonard_Rosenthol@adobeforums.com Guest

  8. #7

    Default Re: Watermark display distorted in Acrobat 8 when angle > 0

    It seems a defect in Acrobat 7 - Watermark Position Vertical Horizontal from Top, Center and Bottom is fixed in Acrobat 8 and above. Acrobat 7 displays Text Watermark with 45 degree Vertical 0 Top Horizontal 0 Right in a hidden manner. From Acrobat 8 and above display is OK.

    Thank you very much for your great support once again.
    regards,
    peri
    Periyannan_Muthaiah@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139