Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
Draw Text Get Flipped |
Post Reply |
Author | |
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
Posted: 01 Oct 17 at 10:31PM |
If you want to draw anything onto a pdf-page you should do at least the NormalizePage first.
If you want to extract anything from a pdf-page you should do at least the CombineContentStreams first. |
|
Cheers,
Ingo |
|
SalmaBegum
Team Player Joined: 30 Sep 17 Status: Offline Points: 28 |
Post Options
Thanks(0)
|
hi, first of all thanks a lot for being so helpful and reply. And Then i am very sorry for the "ASAP" words, as i was stuck and on hold that's why i used that term. btw. sir, i have another question how do i know in prior to processing a PDF file that it has something wrong in it? so, i can call the combine and normalize command before processing? or is it safe to run that command on all PDF before any kind of processing? once again thanks best regards |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Salma,
this will have to do with rotated syntax in the pdf source. Before you're using the drawing functionalities. You should set a "CombineContentStreams": http://www.debenu.com/docs/pdf_library_reference/CombineContentStreams.php and a "NormalizePage": http://www.debenu.com/docs/pdf_library_reference/NormalizePage.php Then you'll get what you want ;-) Cheers and welcome here, Ingo BTW: Here's nothing ASAP 'cause this is a user-user-forum but here are friendly, helpful users ;-)
Edited by Ingo - 30 Sep 17 at 7:55PM |
|
Cheers,
Ingo |
|
SalmaBegum
Team Player Joined: 30 Sep 17 Status: Offline Points: 28 |
Post Options
Thanks(0)
|
Please, have a look at the 2 pdf file (link below), one is source another is output, when i use objPDF.DrawText(450.584, 43.453, "I love to test"), and check the output file, the text get vertically flipped? i don't found any function that can change the text orientation and also why by default text get flipped?
Not only text, even when i tried to use draw image, it also flipped. Here is the links for the files: https://www.dropbox.com/s/d5i0ekn91zq7frd/Source.pdf?dl=0 https://www.dropbox.com/s/ycp16e7tgp6u6o9/Output.pdf?dl=0 https://www.dropbox.com/s/9stmnuycajg5wnr/Output.png?dl=0 please sir, leave a reply asap thanks in advance |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store