<?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 : Example - AutoIt - Debenu PDF Viewer SDK</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 : Sample Code : Example - AutoIt - Debenu PDF Viewer SDK]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 08 May 2026 06:08:31 +0000</pubDate>
  <lastBuildDate>Thu, 05 Jun 2014 12:38:03 +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=2913</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[Example - AutoIt - Debenu PDF Viewer SDK : AutoIt Example forDebenu PDF Viewer...]]></title>
   <link>http://www.quickpdf.org/forum/example-autoit-debenu-pdf-viewer-sdk_topic2913_post11764.html#11764</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2557">mLipok</a><br /><strong>Subject:</strong> 2913<br /><strong>Posted:</strong> 05 Jun 14 at 12:38PM<br /><br />AutoIt Example for&nbsp;Debenu PDF Viewer SDK:<div>{this is very similar to VisualBasic so I think it is useful}</div><div><br></div><div><div><font color="#0066ff">#Region QuickPDF Include</font></div><div><font color="#0066ff">#include &lt;MsgBoxConstants.au3&gt;</font></div><div><font color="#0066ff">#include &lt;FileConstants.au3&gt;</font></div><div><font color="#0066ff">#include &lt;GUIConstantsEx.au3&gt;</font></div><div><font color="#0066ff">#include &lt;WindowsConstants.au3&gt;</font></div><div><font color="#0066ff">#include &lt;String.au3&gt;</font></div><div><font color="#0066ff">#include &lt;File.au3&gt;</font></div><div><font color="#0066ff">#include &lt;WinAPIFiles.au3&gt;</font></div><div><font color="#0066ff">#EndRegion QuickPDF Include</font></div><div><font color="#0066ff"><br></font></div><div><font color="#0066ff">Example(FileOpenDialog('Select PDF File','c:\','PDF File (*.pdf)'))</font></div><div><font color="#0066ff"><br></font></div><div><font color="#0066ff">Func Example($sPDF_FileFullPath)</font></div><div><font color="#0066ff"><br></font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>; Create ActivX object</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>Local $oQPV = ObjCreate('DPVACTIVEX.Viewer')</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$oQPV.LibraryPath = @ScriptDir &amp; '\DebenuPDFLibraryDLL1014.dll'</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$oQPV.RendererPath = @ScriptDir &amp; '\DebenuPDFRendererDLL1014.dll'</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$oQPV.LicenseKey = 'ENTER YOUR KEY HERE'</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="line-height: 1.4; white-space: pre;">	</span><span style="line-height: 1.4;">$oQPV.ScrollbarsEnabled = True</span></font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$oQPV.ToolbarEnabled = True</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$oQPV.OpenFile($sPDF_FileFullPath)</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$oQPV.SetZoom(1)</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$oQPV.GotoPage(1)</font></div><div><font color="#0066ff"><br></font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>; Create a simple GUI for our output</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>GUICreate("Embedded Web control Test", 800, 600, (@DesktopWidth - 800) / 2, (@DesktopHeight - 600) / 2, BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS, $WS_CLIPCHILDREN))</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>GUICtrlCreateObj($oQPV, 10, 10, 780, 500)</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$oQPV.ZoomFitPage()</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>Local $idButton_Back = GUICtrlCreateButton("Back", 10, 520, 100, 30)</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>Local $idButton_Forward = GUICtrlCreateButton("Forward", 120, 520, 100, 30)</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>Local $idButton_Home = GUICtrlCreateButton("Home", 230, 520, 100, 30)</font></div><div><font color="#0066ff"><br></font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>GUISetState(@SW_SHOW) ;Show GUI</font></div><div><font color="#0066ff"><br></font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>; Loop until the user exits.</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>Local $iMsg</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>While 1</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>$iMsg = GUIGetMsg()</font></div><div><font color="#0066ff"><br></font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>Select</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">			</span>Case $iMsg = $GUI_EVENT_CLOSE</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">				</span>ExitLoop</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">			</span>Case $iMsg = $idButton_Back</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">				</span>$oQPV.PrevPage()</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">			</span>Case $iMsg = $idButton_Forward</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">				</span>$oQPV.NextPage()</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">			</span>Case $iMsg = $idButton_Home</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">				</span>$oQPV.GotoPage(1)</font></div><div><font color="#0066ff"><br></font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">		</span>EndSelect</font></div><div><font color="#0066ff"><br></font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>WEnd</font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>$oQPV = '' ; CleanUp</font></div><div><font color="#0066ff"><br></font></div><div><font color="#0066ff"><span ="apple-tab-span"="" style="white-space:pre">	</span>GUIDelete()</font></div><div><font color="#0066ff">EndFunc &nbsp; ;==&gt;Example</font></div></div><div><br></div><div>Cheers</div><div>mLipok</div><div><br></div><div><br></div><span style="font-size:10px"><br /><br />Edited by mLipok - 15 Sep 14 at 9:28AM</span>]]>
   </description>
   <pubDate>Thu, 05 Jun 2014 12:38:03 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/example-autoit-debenu-pdf-viewer-sdk_topic2913_post11764.html#11764</guid>
  </item> 
 </channel>
</rss>