Unlock the power of Acrobat SDK through our community.
Recently active
I want to save opened file by myself, there is AVAppSaveDialogSEL API. But I want to save file without dialog. Any API can be used.
I want to highlight or color a field when it's empty, how do you do it?I've been trying out this formula but I think it's not correct because there's a Syntax Error:var a1 = this.getField("FirstN");if (a1.value == null){a1.style.backgroundColor = "yellow";}
After initiating the tool, placing/ clicking the cursor, typing the text, no text is written. There is a small rectangle with tiny grip squares as expected, but the rectangle cannot be pulled or stretched either. In fact, it cannot be deleted. It is behaving just as if it were locked but before I am able to type anything into the rectangle.
I read this statement in 1 of the Adobe DC SDK guidelines - "OLE or ActiveX server plug-ins must be implemented using the ActiveX Template Library." Could anyone please clarify if it means that we cannot instantiate COM object for a COM server other than ATL (C++). We are instantiating COM object of C# generated tlb in plugin code and are facing issue when protected mode is ON.Thanks
Hello All, I've been trying to figure out a way to render multiple PDFs within a WinForm using Visual CS and Visual Studio 2019. Namely I'm looking to provide a solution to search through PDFs and display locations of these search patterns side-by-side. I've currently been able to display PDFs through a WebBrowser object, which isn't directly supported by Acrobat based on the 1st URL below. This is when I stumbled across mention about the SDK and started reading into the documentation, which is the 2nd URL below.https://helpx.adobe.com/acrobat/kb/using-acropdf-dll-within-microsoft.htmlhttps://help.adobe.com/en_US/acrobat/acrobat_dc_sdk/2015/HTMLHelp/ Currently, I haven't been able to find any documentation explaining the DLLs I need to reference within my solution. I've stumbled arcoss this 'AcroPDFLib' file found in the 'C:\Program Files (x86)\Common Files\Adobe\Acrobat\ActiveX' folder, but it doesn't seem to to have all the method calls explained in the IAC section of
I am using Acrobat Reader DC SDK to develope a *.api. Currently I need to get file path and file name. Is there an API like AVDocOpenFromFile to get file path and file name which is Acrobat Reader open file? thanks,tony
I am using Acrobat SDK for developing *.api. When I use command line to open pdf file as follows:AcroRd32.exe 0001.pdf aaa bbb ccc.If *.api can get the parameter - aaa bbb ccc?
I'm creating a form in Acrobat DC. I have a checkbox named AN_PA_CB; its export value is "Proximate Analysis" (this cannot be changed because of other code in my form). I have three text fields named AN_PA_CP_TB, AN_PA_CF_TB, and AN_PA_A_TB. I need checkbox AN_PA_CB to check if text is entered in one or more of the three text fields AN_PA_CP_TB, AN_PA_CF_TB, and AN_PA_A_TB. I also need the checkbox to uncheck if text is deleted from all three text fields; however, the checkbox must stay checked if text remains in one or more of the fields. I tried entering the code below in the custom format of each textbox:this.getField("AN_PA_CB").checkThisBox(0,!/^\s*$/.test(event.value));This checks/unchecks the checkbox successfully when text is added/deleted from a text field; however, this code considers each text field individually and unchecks the checkbox whenever text is deleted from any text field, even if the other two still contain text. Is there a way for checkbox AN_PA_CB to c
Dear All, I used Visual Studio 2013 for developing plugin from Adobe Reader DC SDK in the development computer. I built the sampe code - SampleExtn. Put the *.api into Acrobat Reader DC's plug_ins directory. Open Acrobat Reader and it can work. Show the "Acrobat SDK" in menu bar. But when I installed the same Acrobat Reader DC in the another computer - testing computer. Copy the same *.api into Acrobat Reader's plug_ins directory. Open the Acrobat Reader and cannot show "Acrobat SDK" menu. The two computers have the windows 10 OS and Acrobat Reader DC is 2020.013.20066. Thanks,Tony
Dear All, I cannot open file by using AVDocOpenFromFile, if the file is under C:/user/localadmin. But it can open file if I added "Everyone" into the security of directory - localadmin. Anyone has the idea about it? Thanks and best regards,Tony
Dear All,I need static library build, but acrobat SDK sample project only DLL /MD build. I have changed it from Multi-threaded DLL (/MD) to Multi-threaded (/MT). It has the following error:"mismatch detected for 'RuntimeLibrary'".anyone has the idea about it?thanks,tony
Hello. I want to display the validation appearance mark (valid, Invalid, unknown) on a signature image by using plugin.But, my signed signature data is on layer 0 and 2 data. (There is no layer 1 or 3 data.) Can I set up the Plugin to call the GetAPLabel(), GetLogo() functions to display the verification image? Or is there another better way?
I created a script for my text fields to default to the following settings:Font Size: 10Font Color: BlueFont: Times-RomanThis is working for the most part. However, I would also like to add another default setting for text field, under the option tab only have the "check spelling" box selected. Also, the current script is not being applied to checkboxes. I would like checkboxes to have the same default setting (Blue, 10) with the check box style set to "cross". Below is my current script, can I please get assistance with the above additional settings added to my existing script? /* Auto Detect Font Changer */for (var i = 0; i < numFields; i++) {var fName = getNthFieldName(i);var f = getField(fName);if (f.type === "text") {f.alignment ="left";f.textFont = "Times-Roman";f.textSize = 10;f.textColor = ["CMYK",1,1,0,0];// Other properties go here}}
Hello all, I would like to list all the fillable fields in a PDF in an array for each page. I found a page that seems to say its script will do just that. I cannot get it to work. Could someone take a look and tell me what is wrong. In the function that is created should I be inserting my document name? If anyone has a better way to do this I will appreciate that as well. The page that offers a script: Page at Acrobat Library function getPageFields(doc, p) { var fields = []; for (var i=0; i<doc.numFields; i++) { var f = doc.getField(doc.getNthFieldName(i)); if ((typeof f.page=="number" && f.page==p) || (typeof f.page!="number" && f.page.indexOf(p)>-1)) fields.push(f.name); } return fields; } If my results are listed in the console it is fine. I want the listing to refer to them elsewhere. Thanks for any help.
We have developed plugins for Adobe Acrobat using Visual Studio 2013 and the latest Acrobat SDK. We would like to upgrade to Visual Studio 2015 without having to also keep VS 2013 in our machines. The challenge is that we have references to sandbox_pisdk_client.lib and sandbox_pisdk_server.lib. We use those because our plugin needs to run in Protected Mode and we had to implement a broker process for actions that cannot be executed within the sandbox boundary.Unfortunately, the sandbox_pisdk libraries in the sdk were compiled in VS 2013 and we cannot use them to build in VS 2015.I had a few questions...* Is it possible to get sandbox_pisdk library files that have been built in VS 2015* If that is not possible, is it possible to get access to the source files so we can build them ourselves? This would actually be helpful for future Visual Studio upgrades (VS2017 is coming out soon!)Thanks
I keep receiving this error message when trying to open Adobe Acrobat "C:\Program Files (x86)\Adobe\Acrobat 110.\ [CoolType.dll] [BIB.dll] [AGM.dll] is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. I have uninstalled and reinstalled Abode and this did not work. I have ran command prompt to sfc /scannow commands. I am running Windows 10 Pro x64. I have Adobe Acrobat version 11.0.15 version installed as well. Thanks for the help!
I have an MS-Word document with several mp4 files in it.After conversion to pdf, the pdf file shows the video file's icon but it's now only an image, the video is not available any more.Is there a setting that ensures videos are embedded in the pdf doc?Many thanks
Our plugin loads fine when Protected mode is off but does not loads when protected mode is ON. Error message appears "Unable to initialize Adobe Plugins. Class not registered."Any clue what might be the possible reasons?Thanks
Ok, so I know you can set your browser not to open PDF forms, so this is not a question about how an individual can prevent all PDFs from opening in a browser.We use a lot of PDF forms which our users download from our website and email back to us. However, when they open their download the form inevitably opens in a browser and they fill it in and can't save their answers. There is no way to train them to only open forms in the proper Acrobat program because they are all over the country and do not read instructions on the website. They are using all sorts of different operating systems and devices.Is there a way to embed a setting in each file that will prevent it from being able to open in a browser? I see you can embed settings to open at a particular view, with particular panels open or closed, but can't find a setting for "prevent opening in browser".As long as our users are able to open a form in their browser, they will continue to email us wondering why their form didn't save
Hi Team,We are unable to use our plugin when protected mode is on.We are using C# generated .tlb file in the C++ plugin code. When plugin is installed on the system we do register this tlb file using regasm.exe.When protected mode is off, the plugin loads successfully, but when it is on, plugin is not loaded and error message appears - "Unable to Initialize Adobe Plugins. Class not registered."Not sure, but is the tlb file whose methods are being used by plugin CPP code causing this problem?Also, I read in Adobe Security (related to protected mode) that broker process is required for out-of-proc COM objects. Since we are not using any exe file, I hope using tlb file should not be the cause of issue. Is it that we need to implement broker process for COM object (.tlb)?Kindly let us know your valuable inputs.Thanks
Hoping someone can help me with this. I have a form with an Absence Type dropdown list and a text field to enter hours. I would like to be able to have an alert pop up 'Do Not Enter Hours' if the user attempts to enter hours if CDO (compressed day off) is selected from the dropdown list. I have attached a document showing an example of what I need. Thank you!
the program works well, the problem is i get a message that there are updates ready and when i download and try to install it it gives me error 1328. i uninstalled the program and reinstalled twice and the problem persist.
I am trying to create a custom print button on a PDF form that will print pages 2-4, SKIP page 5, and continue printing page 6-7. Is this possible? I am not very familiar with JavaScript and have tried looking at other post on this topic but I can not figure out how to not print page 5. Any help would be apprecitated.
I have Adobe Acrobat DC and am attempting to extract data from fillable pdf forms into an access database using Visual Basic for Appliactions and Java Script. My routines allow users to select a form to import and it loop through all fields and imports data into a table in db. This part works fine. The issue I am having is that sometimes the signatures show up as the first objects in the field colleciton as "Signature1", "Signature2", "Signature3", etc... These are always the first indexes in the collection instead of in the location they show up on the acutal form. Some forms when imported the signature fields actually have the actual field name such as "ApprovalSig" (for approvers) or "PointSig" for point of contact as identified on the form and in the proper order. Code: This code was originally obtained from theDBGuy's PDF Form Fields Demo at accessmvp.com/thedbguy and modified for my purposesOn Error GoTo errHandler Dim appAcro As Object Dim docAcro As Obje
Hello, I have a fillable form that I would like people to fill out but would like to restrict it that it automatically saves and closes after an hour of the form being opened. I would like it to also have a countdown on the top of the form saying how much longer they have to complete the form. I don't mind using Javascript for this. I know some people know how to work around this but I believe my demographic of who is completing this form wouldn't be able to figure it out. If anyone could help that would be greatly appreciated.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.