Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
Periyannan_Muthaiah@adobeforums.com #1
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
-
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? -
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... -
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... -
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... -
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... -
Leonard_Rosenthol@adobeforums.com #2
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
-
Periyannan_Muthaiah@adobeforums.com #3
Re: Watermark display distorted in Acrobat 8 when angle > 0
Acrobat 8.1.2 Prof and SDK version 8
Periyannan_Muthaiah@adobeforums.com Guest
-
Leonard_Rosenthol@adobeforums.com #4
Re: Watermark display distorted in Acrobat 8 when angle > 0
So then where does Acrobat 7 come in?
Leonard_Rosenthol@adobeforums.com Guest
-
Periyannan_Muthaiah@adobeforums.com #5
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
-
Leonard_Rosenthol@adobeforums.com #6
Re: Watermark display distorted in Acrobat 8 when angle > 0
Can you post/send me a sample PDF?
Leonard_Rosenthol@adobeforums.com Guest
-
Periyannan_Muthaiah@adobeforums.com #7
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



Reply With Quote

