Acrobat SDK

    We have been using acrobat SDK for loading the reader.
     We are using classes like CAcroApp,CAcroPDDoc,CAcroPDPage etc.
     In CAcroPDPage::DrawEx(short nHWND, short nHDC, short nXOrigin, short nYOrigin, short nZoom), the second parameter is the HDC parameter.
     We have tried passing the destination HDC to DrawEx, but it doesnt work.Drawing onto HWND only works and not the HDC param.
      Is there any way out to this problem?Please guide.

Post your question in the forum for Acrobat SDK.

Similar Messages

  • How to convert html to pdf using acrobat sdk 8.0?

    hi
    I am a beginner of acrobat sdk .
    I want to know How to use acrobat sdk 8.0 to convert html to pdf?
    herere some questions :
    1:How to support navigation inside PDF file that generated using acrobat sdk 8.0? For example: theres catalog in the top of HTML file, customer hopes can navigate inside the PDF file just like navigating inside the HTML file.
    2:How to support operating some controls in the PDF file that generated using acrobat sdk 8.0? For example: therere some drop down list and text box in HTML file, customer hopes can input text in the text box, click the drop down list to see available options in it just like in HTML file.
    Thanks in advance for any help and suggestion.

    Hello,
    I want a system to re-brand my 37 pages PDF for affiliates.
    I want a php dynamic link in the PDF online in order to personalize automatically the PDF for each affiliate. I need to change 2 links each time. The affiliate ID and the Paypal email (payment button) in page 36.
    Can you help?
    Please let me know
    Thank you
    Alex
    PS My system is online and i can give you the url if it helps.

  • How can I find out the screen size of the users moniter using the Acrobat SDK?

    How can I find out the screen size of the users moniter using the Acrobat SDK? I need to know how much sreen real estate that is available on the users moniter. Is there some call that I can make from the SDK to discover the maximun X and Y coordinates?
    Thanks,
    Gregory

    Currently, I am testing on multiple moniters and it is defaulting to the moniter designated as the #1 moniter. For our purposes, this is acceptable. Once the two documents have loaded, the user can move and re-size at will.
    Gregory

  • Plug in for visual studio 6.0 in acrobat sdk 6.0

    Dear Friends,
    I am absolutely in to the pdf plug in work. Can any one please help me, to know that how to install the plug in for visual studio 6.0.
    I have installed acrobat sdk 6.0 , acrobat professional and visual studio 6.0 in my system.
    Please suggest me whether I have to download any other tool for this.
    Regards,
    Safee

    My problem has resolved... still thank you...
    I just follwed
    You must install the wizard manually. Simply copy the AcrobatPluginWiz.awx and
    AcrobatPluginWiz.hlp files from PluginSupport\Tools\Visual Studio App Wizard
    subdirectory of the Acrobat 6.0 SDK installation to the Common\MSDev98\Template\
    subdirectory of the Visual Studio 6.0 installation. The default path to copy from is
    C:\Program Files\Adobe\Acrobat 6.0 SDK\PluginSupport\Tools\Visual Studio App Wizard
    and the default path to copy to is C:\Program Files\Microsoft Visual
    Studio\Common\MSDev98\Template.
    Once the files are copied, the Acrobat 6.0 Plugin Wizard option will now be available in the
    File > New > Projects dialog.

  • How to use Acrobat SDK with C# and how much is it?

    I just want to know these info because I'm new here and I can't seem to find any answers to these here in the forums and on the Documentation.

    Hi,
    The Acrobat SDK is free and can be downloaded from http://www.adobe.com\devnet\acrobat. Please note to use the SDK you require Acrobat/Reader to be installed.
    As for using it with c#, there are a number of sample files in the SDK that can be used to learn. There is also documentation online and in the SDK.
    Hope thie helps
    Malcolm

  • Merging PDF / Page Numbers / Acrobat SDK V9  & LiveCycle

    Hello everyone,
    I use Adobe LiveCycle to create forms, Visual Studio 2005 and the Acrobat SDK for the application I'm programming to fill in these forms. The application fills in the forms and merges them with no issues.
    The problem I have is that these pages have page numbers in the upper right. I use the Page N of M object on these forms in LiveCycle. PDF page numbers are filled in correctly when filling in the forms, but when I merge PDFs, the pages keep their original page numbers. I've looked at the Windows - Interapplication Communications even using templates to no avail.
    How can I merge these pdf's and have my program renumber these pages correctly and how can insert pages anywhere I want in the merge document?
    Below is the code I use to merge the PDF's. It was posted in a forum.
    Sub MergePDF(ByVal ThePath As String, ByVal outFileName As String)
    On Error GoTo serror
    Dim dPDDocMerge As New Acrobat.AcroPDDoc
    Dim dPDDoc As New Acrobat.AcroPDDoc
    Dim strFiles() As String
    Dim numPage As Integer
    Dim TotalPage As Integer
    Dim objThisFile As IO.FileInfo 'get FileInfo object for file string
    strFiles = System.IO.Directory.GetFiles(ThePath) ' Read in the file names
    Dim b As Boolean ' mostly for testing purposes... could use it for error 'checking to make sure that a file is really added before deleleting it...
    For i As Integer = 0 To strFiles.Length - 1 ' run through all the files in 'the directory
    objThisFile = New IO.FileInfo(strFiles(i)) ' Get the extension
    If objThisFile.Extension = ".pdf" Then ' Only add in PDFs
    If dPDDocMerge.GetFileName = "" Then ' check if it's the first file
    dPDDocMerge = New Acrobat.AcroPDDoc
    b = dPDDocMerge.Open(strFiles(i)) ' open first file
    TotalPage = dPDDocMerge.GetNumPages
    Else
    dPDDoc = New Acrobat.AcroPDDoc
    b = dPDDoc.Open(strFiles(i)) ' open other files
    numPage = dPDDocMerge.GetNumPages ' get the page count
    TotalPage += numPage
    b = dPDDocMerge.InsertPages(numPage - 1, dPDDoc, 0, dPDDoc.GetNumPages, _ False) ' Insert
    End If
    End If
    Next
    'b = dPDDocMerge.Save(1, ThePath & "\" & outFileName) ' save file
    b = dPDDocMerge.Save(1, ThePath & "\" & "\MyTest.PDF") ' save file
    b = dPDDocMerge.Close()
    Exit Sub
    serror:
    MsgBox(ErrorToString)
    End Sub
    Thanks for any code or advice.

    You can't merge LiveCycle forms this way :(. LC forms are NOT standard PDF files and can't be processed in the same way.

  • Create pdf using Adobe acrobat sdk

    Hello,
    I'm new to this concept of using adobe sdk to convert a html into pdf.I would like to know few details regarding this..
    I went thorugh the documentation but I did not get any help about the vector image support in the pdf and I aslo want to know abot the dpi support in the pdf.
    I also want to know wether I can create a pdf form a Html page.
    thanks for the help.

    >I want this to be on the server.
    Ok, we can start there - or stop. The Acrobat SDK is for automating
    Acrobat. Acrobat must not be installed on a server. So you cannot use
    Acrobat.
    Adobe have a PDF Library, which can be licensed for server use. But it
    does not have any easy HTML to PDF converter.
    You might look into LiveCycle PDF Generator, a different application
    with a Java API and more, for server use.
    >The dpi what I was talking about was..in the pdf i want a logo to appear that would around 200-300 dpi.That logo is a vector image.
    This seems a contradiction. PDF files can store text, vector images
    and bitmaps/images. If you store a vector image, it remains vector and
    there is no dpi to worry about.
    HOWEVER if you can only convert HTML
    1. HTML does not support any vector formats
    2. HTML often forces images to 72 dpi.
    HTML is not suitable for print quality.
    Aandi Inston

  • AcroExch - Acrobat SDK 9.0

    Hi,
    I have a copy of Adobe Acrobat 9 pro installed along with the SDK.  I can run the BasicIACVB example and have used the sample to find text in the pdf, however I am having issues pulling the actual page number that the text is found on.
    I am using the ACROBAT.CACROAVPAGEVIEW object.
    Dim gAVPage as Acrobat.CAcroAVPageView
    gAvPage = CreateObject("AcroExch.CAcroAVPageView")
    I get an error stating "Cannot create ActiveX component." on the second line, the CreateObject line.
    I can create an object of AcroExch.AVDoc just fine without errors.
    Any Suggestions would be greatly appreciated.  Oh, I am developing in VB.net 2005 on a Windows XP Pro Box.
    Thanks!
    JT

    You should post in the Acrobat SDK forum.

  • How to Use Acrobat SDK for Automation Using VB or Perl

    Hi Forum,
    I am a new bie, just 2 days old to acrobat and javascript, and I am basically a perl developer
    I am using Adobe Acrobat 9 Pro,
    I downloaded Acrobat SDK, but i don't know what else to do further, how to use??
    I tried to start learning SDK, but no proper documents i found to learn and start using SDK,
    Please suggest some guide or documentation for start learning Acrobat SDK (Step by Step guide)
    Here with I have created a small script to merge two pdf
    // Create a new PDF document:
    var newDoc = app.newDoc();
    // Insert doc1.pdf:
    newDoc.insertPages({
    nPage : -1,
    cPath : "/d/sathish/1.pdf",
    // Insert doc2.pdf:
    newDoc.insertPages({
    nPage : newDoc.numPages-1,
    cPath : "/d/sathish/2.pdf",
    // Save the new document:
    newDoc.saveAs("/d/sathish/myNewDoc.pdf");
    My code is working fine and merging properly,
    Is there any way to execute this script through commandline or using some other scripting languages like perl or through VB
    My objective is to automate the merging process without any manual intervention, I don't want to open acrobat manually to execute this javacript, i want to automate that process too,
    Please suggest me which will be very helpful to me,
    Thanks in advance
    Thanks & Regards
    Sathish V.

    It is a big SDK and to learn its features requires a lot of reading. But to start with I guess I should start with "Introduction to SDK".
    Since you want to control Acrobat from another application you should consider this under "Interapplication communication". You will be using OLE/COM.

  • Where to find file AForm32.api mentioned in Acrobat SDK?

    Hello everyone,
    A paragraph under the following path in Acrobat SDK
    "Acrobat Interapplication Communication > Interapplication Communication API Reference > Acrobat Forms Plug-In > Forms plug-in OLE automation"
    suggests to place the AForm32.api file in the Acrobat's plug-ins folder:
    Quote:
    Registration in the Windows registry (which is different from the class object registration described above) happens every time Acrobat loads the plug-in. Therefore, you must run Acrobat at least once with the AForm32.api file in the plug-ins folder before its type library can be found for object browsing within the Microsoft Visual Studio environment. This is also necessary in order to allow early binding. Declare the program variables as objects of the corresponding classes in AFORMAUTLib, and not simply as Object.
    Question:
    Does anybody know where can I get the mentioned file AForm32.api ?
    Thank you.
    surotkin.

    AForm32 is now AcroForm – it's the same thing.
    However, I don't believe that we expose the COM APIs in the Standard edition – only in the Professional edition.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Wed, 23 Nov 2011 09:21:02 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Where to find file AForm32.api mentioned in Acrobat SDK?
    Re: Where to find file AForm32.api mentioned in Acrobat SDK?
    created by surotkin<http://forums.adobe.com/people/surotkin> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4043128#4043128

  • Acrobat SDK License Agreement Question

    The following is a section of the latest Acrobat SDK License Agreement from the Adobe website:
    "3.2  Development Restrictions.  You agree that You will not Use the Software to create, develop or use any program, software or service which . . . (b) can both (i) communicate with Adobe Reader Products and (ii) modify or save a PDF (Portable Document Format) document (including saving any modifications to a separate file for such documents);"
    Does this mean that I am NOT allowed to develop a program that both:
    Interfaces with Adobe Reader/Acrobat via the Acrobat SDK for PDF viewing purposes and
    Builds and modifies PDF's using third party component(s)?
    If the answer to the previous question is "YES", that means I can only use the Acrobat SDK in a program that is limited to PDF viewing and printing as far as PDF issues are concerned.  That would be very restrictive for a real world application that involves PDF's, especially when I am supposed to "add significant and primary functionality" as the license aggreement also states.

    How do I go about contacting "Adobe Legal"?
    Also, just to clarify our discussion on some subtle but important points . . .
    I understand that Adobe Reader is just that, a read-only application.  And, I understand that the Adobe solution for modifying PDF's is Adobe Acrobat.  I have components from 3rd parties that let me programatically modify PDF's.  So, from a strictly programming tools point of view, I don't need Acrobat to modify PDF's in my application.  The 3rd party components handle the PDF modification tasks.  I'm not trying to use the Acrobat SDK to modify PDF's, but rather only to view PDF's.
    So, when you say:
    "You can NOT use Reader to view PDF documents as part of a software solution that also modifies the PDF using some other technology"
    Do you mean:
    It is your understanding that using the Acrobat SDK for PDF viewing and 3rd party components for PDF modification in the same application constitutes a violation of the Acrobat SDK License Agreement?
    And when you say:
    "Acrobat, however, does not have this limitation"
    Do you mean:
    Adobe requires licensed Acrobat to be used for PDF modification in any application that uses Acrobat SDK for PDF viewing?  (In other words, PDF modification is where Adobe wants to make a profit.)
    Thanks for your input.

  • Acrobat SDK C# Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)

    Hi,
    Here I want to known one thing clearly, that is I was developed one application in C# with Acrobat SDK.
    In my application I am using Acrobat AxAcroPDFLib.AxAcroPDF and  also some other acrobat class.
    In my development system i am using Acrobat 7.0.
    When my application installed in my client system I am faced different types of problem.
    System 1
    System Configuration
    OS : XP
    Acrobat 7.0
    Result : Success
    System 2
    System Configuration
    OS : XP
    Acrobat 5.0
    Acrobat 7.0
    Result : Fail
    Error : Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)
    System 3
    System Configuration
    OS : XP
    Acrobat 7.0
    Adobe Reader 9
    Result : Success
    Note:
    But I having problem when I am use my application while Adobe Reader 9 is open.
    What is problem?
    Error is related to ActiveX COM fail like
    Error HRESULT E_FAIL has been returned from a call to a COM component.
    Retrieving the COM class factory for component with CLSID {FF76CB60-2E68-2E68-101B-B02E-04021C009402} failed due to the following error: 80080005
    System 4
    System Configuration
    OS : XP
    Acrobat 7.0
    Result : Success
    Problem:
    At the time of tool installation the system configuration will be as mention above, after by mistake they installed Adobe Reader 5.0. I faced the problem to use my application ActiveX COM failed
    So I was un installed Adobe Reader 5, and tried but I got the following error,
         System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception      from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
    at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
    at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
    at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
    at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
    at System.Windows.Forms.AxHost.CreateInstance()
    at System.Windows.Forms.AxHost.GetOcxCreate()
    at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
    at System.Windows.Forms.AxHost.CreateHandle()
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.AxHost.EndInit()
    at Greenleaf_MetaData.ArticleMetaData_Jnl.InitializeComponent()
    at Greenleaf_MetaData.ArticleMetaData_Jnl..ctor()
    at Greenleaf_MetaData.MainForm.btn_Process_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)   
    So, I am advised my System Admin team to Re-Install the Acrobat 7.0, after the Re-Installation of Acrobat 7.0, all the problem get solved.
    But I want to known what is problem?
    And also what is the Adobe COM connection between Acrobat ActiveX and my Application(C#, VB, etc…).
    So Please give clear information and guidance...
    Thanks & Regard
    Thirusanguraja Venkatesan

    A simple google can get:
    Common problems such as Windows Error Code 0x80040154 can be resolved with without too much difficulty. In this article we will go through solving the problem and how to prevent it in the future.
    What happens
    If you are registering an ATL server, you may see this error code. In the case of DLLs, regsvr32.exe will generate this error. In the case of EXEs, calling _Module::RegisterServer (CComModule::RegisterServer) in _tWinMain() will generate this error.
    For detail: http://www.error.info/windows/registry-0x80040154.html
    Cheers,
    andy

  • Acrobat SDK 9.1 - custom plugin - Polish Characters issue

    Hi,
    I hope any of you will be able to help me out as we are having small issue.  We are developing a plug-in that will digitally sign only XML prior to posting via webservice. This plug-in is developed for Adobe Reader 9.1 and we are using Adobe Acrobat SDK 9.1 to develop it.  This plug-in needs to support Polish characters, so the plug-in will be compiled with _UNICODE directive.  We are running into a Polish Character issue where Polish Characters are not being displayed in the plug-in popup.  Would you be able to tell us how is the Acrobat SDK dealing with this (as it is using std:string and not any type of wide string format), what type of params will get simple functions (like AVAlertNote).
    We are also using the JS bridge to export data from the fdf form (using exportXFAData).
    Any help would be greatly appreciated!
    Thank you,
    Jan Kropiwnicki

    You should be using ASText objects when working with Unicode.

  • Acrobat sdk, not able to run samples, getting a message, unable to start the program

    Hi,
    I have downloaded Acrobat sdk XI and tried to run plugin samples  in visual studio 2010, It is build successfully but when I try to run the program am getting an error message saying " Unable to start  Program 'C:\Users\downloads\sdk110_VI_win\Adobe\acrobatXISdk\Version1\Plugin Support\samples\BasicPlugin\Win32\Debug\BasicPlugin.api'."
    Can anybody help me finding out why am getting this message.
    Thanks.

    How do you run the program?
    I need to copy the compiled BasicPlugin.api under Acrobat\plug_ins folder. I can create a subfolder of plug_ins and copy the .api file there. Just one level deep: if I create a subfolder under a subfolder of plug_ins, the .api file will not be found by Acrobat.
    Then I need to restart Acrobat and I find the plugin running. In particular, BasicPlugin add a new Acrobat SDK menu and a menu item under it.
    If I close Acrobat and go back to Visual Studio, I can push the Debug button which will open Acrobat for me and stop the program execution at any breakpoints I have set in the code.

  • Acrobat SDK plugin in Visual Studio 2012

    Hello
    I am trying to develop a plugin for Acrobat SDK. We are using Visual Studio 2012 here at work but as the samples seemed to require using Visual Studio 2010 I had to resort to downloading Microsoft Visual C++ 2010 Express and trying to run the examples there. I managed to get the BasicPlugin to work by building it and copying the BasicPlugin.api file into the plug_ins directory and the menu and menu item would show.
    Since then I have been battling by using Visual Studio 2012 to work the same way and have used two different attempts, first by including the header files in the solution and then replicating the samples more closely by setting the includes (Additional Include Directories) in the Property Pages for the project and having other settings in the same way, but to no avail.
    Is it not possible to use Visual Studio 2012 or is there something I am missing?
    I must confess that my C++ is rather rusty as I normally use C#.
    Please find the two projects here if that helps explain my problem:
    OneAcrobatPlugin.zip - Box
    OneAdobePlugin.zip - Box

    It probably won't be impossible, but having worked through this many, many years ago (with different versions), it will demand a great deal of experiment, detailed analysis of the type of project and all of the options and included files; in some cases the header files need intelligent adjustment. A plug-in is a type of DLL with very specific requirements as everything has to match the internal conventions used to build Acrobat. Plug-ins are not like ordinary apps because they become a true part of the app that runs them, and any error crashes the whole app. It is not, frankly, worth the time needed to do such a port at your stage, especially as you won't be able to know whether your problems are due to porting issues or inexperience with plug-ins.

  • Where can I get Acrobat SDK for Visual Studio 6.0?

    Several years ago, I purchased the Adobe Acrobat SDK for
    VS 6.0. It has since been misplaced or deleted.
    Where can I obtain another copy?

    There are legacy programs out there written in VB 6.0
    Unfortunately, my client is not willing to spend the thousands of dollars it would cost for us to convert all that code to .NET
    I don't expect Adobe to provide support for the VB 6.0 SDK.
    I just need to get another copy of it.
    Please advise.
    Thanks

Maybe you are looking for

  • Monthly Payments - iTunes Match

    Hey there, Just a quick questoin really. Is it possible to pay for iTunes Match monthly? Paying £21.99 would be a bit of a shock to my back account, and I was wondering if there was any way to spread the cost, even if over like 6 months (£3.665), if

  • Traxkpoint press_to_select by default in LXDM

    I want to enable "press_to_select" for my trackpoint by default while booting and disable the touchpad at the some time. I use LXDM so I added echo -n 1 | tee /sys/devices/platform/i8042/serio1/serio2/press_to_select synclient TouchpadOff=1 & to /etc

  • File screening users desktop and documents area

    can I use file screening to prevent users saving office documents and email documents on the desktop and documents folder. these will be for their profiles that are in use on the RDS server, no folder redirection in place just standard profiles. I ha

  • Create SOAP message

    Hi, I would like to know different ways 1. Create a SOAP message in CRM system. 2. Send this to other systems? Please help. Rokie

  • How to know if linux-uvc module is loaded for chicony webcam?

    i have a integrated chicony webcam...iam not sure how to find if linux uvc module is working