<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Debenu Quick PDF Library - PDF SDK Community Forum : how to use GetOrigin function ?</title>
  <link>http://www.quickpdf.org/forum/</link>
  <description><![CDATA[This is an XML content feed of; Debenu Quick PDF Library - PDF SDK Community Forum : I need help - I can help : how to use GetOrigin function ?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 02 May 2026 15:45:13 +0000</pubDate>
  <lastBuildDate>Wed, 04 Jul 2012 13:51:33 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.quickpdf.org/forum/RSS_post_feed.asp?TID=2328</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Debenu Quick PDF Library - PDF SDK Community Forum]]></title>
   <url>http://www.quickpdf.org/forum/forum_images/QPDF_Forum_Title.png</url>
   <link>http://www.quickpdf.org/forum/</link>
  </image>
  <item>
   <title><![CDATA[how to use GetOrigin function ? :  Thank you Ingo,I&amp;#039;ve tried...]]></title>
   <link>http://www.quickpdf.org/forum/how-to-use-getorigin-function_topic2328_post9866.html#9866</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1994">jdddahl</a><br /><strong>Subject:</strong> 2328<br /><strong>Posted:</strong> 04 Jul 12 at 1:51PM<br /><br />Thank you Ingo,<br><br>I've tried both: property PageRotation and function DAPageRotation<br>=&gt; Always returning '0' as if document was not rotated.<br><br>Isn't it related to the way or version the PDF file was generated with?<br>Shouldn't GetOrigin return a consistent value anyway?<br><br><blockquote><font color="#0000CC" face="Courier New, Courier, mono">main functions used are:</font><br><font color="#0000CC" face="Courier New, Courier, mono">  </font><br><font color="#0000CC" face="Courier New, Courier, mono">var iPDFLibrary = new ActiveXObject("QuickPDFAX0815.PDFLibrary") ;&nbsp;&nbsp;&nbsp;&nbsp; // OK</font><br><font color="#0000CC" face="Courier New, Courier, mono">var nResult = iPDFLibrary.Unlockkey(szLicenceKey) ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // OK</font><br><font color="#0000CC" face="Courier New, Courier, mono">var nFileHandle = iPDFLibrary.DAOpenFile(szPDFFile,'') ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // OK</font><br><font color="#0000CC" face="Courier New, Courier, mono">var iPageReference = iPDFLibrary.DAFindPage(nFileHandle,nPage) ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //OK</font><br><font color="#0000CC" face="Courier New, Courier, mono">var nOriginSystem = iPDFLibrary.GetOrigin() ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // ?</font><br><font color="#0000CC" face="Courier New, Courier, mono">var nRotation = iPDFLibrary.DAPageRotation(nFileHandle,nPage) ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // ?</font><br><font color="#0000CC" face="Courier New, Courier, mono">var nPageHeight = iPDFLibrary.DAGetPageHeight(nFileHandle,iPageReference) ; //OK</font><br><font color="#0000CC" face="Courier New, Courier, mono">var nPageWidth = iPDFLibrary.DAGetPageWidth(nFileHandle,iPageReference) ;&nbsp;&nbsp;&nbsp; //OK</font><br><br><font color="#0000CC" face="Courier New, Courier, mono">var szPageContentBuffer = iPDFLibrary.DAExtractPageText(nFileHandle,iPageReference,4) ; // OK but some Y coords return &lt;0 values</font><br></blockquote><br><br>]]>
   </description>
   <pubDate>Wed, 04 Jul 2012 13:51:33 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/how-to-use-getorigin-function_topic2328_post9866.html#9866</guid>
  </item> 
  <item>
   <title><![CDATA[how to use GetOrigin function ? : Hi!Perhaps this issue has additonally...]]></title>
   <link>http://www.quickpdf.org/forum/how-to-use-getorigin-function_topic2328_post9862.html#9862</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 2328<br /><strong>Posted:</strong> 04 Jul 12 at 10:27AM<br /><br />Hi!<br><br>Perhaps this issue has additonally to do with the option "rotated"?<br>You can check this with function "PageRotation":<br>http://www.quickpdflibrary.com/help/quickpdf/PageRotation.php<br><br>Cheers and welcome here,<br>Ingo<br><br>]]>
   </description>
   <pubDate>Wed, 04 Jul 2012 10:27:40 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/how-to-use-getorigin-function_topic2328_post9862.html#9862</guid>
  </item> 
  <item>
   <title><![CDATA[how to use GetOrigin function ? : I work on a very basic module...]]></title>
   <link>http://www.quickpdf.org/forum/how-to-use-getorigin-function_topic2328_post9861.html#9861</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1994">jdddahl</a><br /><strong>Subject:</strong> 2328<br /><strong>Posted:</strong> 04 Jul 12 at 10:11AM<br /><br />I work on a very basic module which takes PDF files on input and gets all text data in.<br>Fot that, I use the function DAExtractPageText<br><br>Generally, it works fine, but I encountered a document with all items having <font color="#0000FF">negative Y</font> coordinates.<br><br>In fact, these coordinates start from the top (beeing negative) instead of the expected (positive) values described in the DAExtractPageText function. <i>"...The co-ordinates are the four points bounding the text, measured in points (1/72<br>inch) with the bottom-left corner of the page as the origin...."</i><br><br>Reading the description given with the SetOrigin function, I expected to get the same information using GetOrigin in order to use it accordingdly.<br><br>For all files (even the one which gave me negative coordinates) , I always get the value "0" from GetOrigin (meaning "bottom-left")<br><br>Is GetOrigin not helpful in that situation?<br>Is there another way for knowing the coordinate system for a given PDF document we open?<br><br>many thanks for help.<br>]]>
   </description>
   <pubDate>Wed, 04 Jul 2012 10:11:43 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/how-to-use-getorigin-function_topic2328_post9861.html#9861</guid>
  </item> 
 </channel>
</rss>