Quantcast
Channel: Adobe Community : All Content - Acrobat SDK
Viewing all 2571 articles
Browse latest View live

Download SDK - Where is the Libary dll dDoc = CreateObject("AcroExch.PDDoc")

$
0
0

Hello,

I download the SDK DC, and opened the sample project to Watermark.

 

The sample will not compile because the library reference is not installed, but where do I find it?

 

dDoc = CreateObject("AcroExch.PDDoc")

 

Thank you

Dennis Aubrey


sdk deskew pdf

$
0
0

How can I deskew a page using Acrobat X Pro sdk

Standardized Location / Size for Signatures ...

$
0
0

Hello, please excuse this post if this question has been answered, but I could not find it in the search.

 

I work for an engineering firm and we need to apply two digital signatures to each drawing sheet.

  1. The engineer's state seal
  2. The digital signature

 

I know there are different opinions on the necessity of signing each sheet, but this is what our legal team has determined we need to do.

 

I have everything ready to go and am working on the best practice for my staff to use in signing the sheets. The issue I have is that I need a way for the signature fields to be inserted at the correct location on the page and in the correct dimensions so they are identical on every sheet for every project. I know that my staff can use the Forms tool to insert a signature field and then use the properties to locate and size it. I am just hoping there is a more efficient way to do this.

 

Any help would be greatly appreciated.

 

- KFD -

Does Adobe have an Enterprise solution to convert PDF to Text automatically using a Hot Folder solution?

$
0
0

I'm looking for Enterprise tool that converts PDF to text or convert Non-searchable to searchable PDF.  Does Adobe have this type of tool?

What is the "meaning" of the returned int from CAcroPDDoc.Open(string s) ???

$
0
0

I am updating to a newer version of Acrobat, and I have the following C# code which is giving me an error saying "cannot implicitly convert from int to boolean":

var pdfDoc = (CAcroPDDoc)Microsoft.VisualBasic.Interaction.CreateObject("AcroExch.PDDoc", "");

if (!pdfDoc.Open(SourceFilePath)) // <-- red squiggly under "Open()"

{

    thrownewFileNotFoundException();

}

Obviously, in a previous version the Open() method returned a boolean value - now it returns an int.  Can someone please provide me a reference to this method so I can determine the "meaning" of the returned int values?  I cannot find any reference to this method.  Help!!

Calculater w/ Tape plugin

$
0
0

Hello,

 

I have been on the lookout for an Adobe DC plugin that has a calculator with tape.  I can't seem to find one online. 

 

I was considering writing the plugin myself (I have a degree in Computer Science) but somewhere I read that I needed to purchase a license from Adobe to write and distribute plugins.  Is this true?  If so, what is the cost?

 

Also, has anyone seen a plugin that does what I'm looking for?

 

Best,

 

--R

Searching text phrases without the Search plugin

$
0
0

I am looking for a smooth way of searching text, not just single words in a pdf document using the api. I am not interested in using the Search plugin. I have started to put together a function using the word finder and a vector of words, but I am a little surprised that it does not exist a better way of doing this. Or does it?

Whitelist in Acrobat/Reader 2017 is no longer supported | Alternatives?

$
0
0

Is there an alternative for the ProtectedModeWhitelistConfig and the Registry DWORD Value bUsewhitelistConfigFile inside FeatureLockDown?

I could not find anything about it.

 

The only way i found is to change the bProtectedMode value to 0 inside FeatureLockDown. But this change is a security risk.

Are there other solutions for this problem?

Thanks a lot.

 

 

Best regards,

Alex


Adobe Reader DC: DDE open command

$
0
0

Hello,

 

I am creating PDFs in a separate program, which uses a DDE command to automatically open the PDF in Adobe Reader once the PDF is created. This command is not successfully opening the PDF, although manually opening the PDF works fine. I know that similar problems occurred for Acrobat/Reader versions 10 and 11. These problems were fixed by changing the "server" for the DDE command from "acroview" to "acroview{A|R}{Major Version}" where A is used for acrobat, R for reader, and "Major Version" is "10" or "11". What is the syntax that should be used for version DC? I have tried "acroviewRDC" and "acroviewRdc" without success.

 

Any help or suggestions are greatly appreciated.

When using PDFLPrintDoc() on Mac, where is the proper place to store the name of document being printed?

$
0
0

On Windows, this can be stored within the inFileNameW field of _t_PDFLPrintUserParams. On Mac, however, this field does not exist. Where then, should the name of the document be stored such that it appears properly in the print queue?

 

Thanks

Issue with SetTitle for Acrobat Pro 2017

$
0
0

In some of my company's applications, we open up the PDF via code and set the title as something more descriptive than the file name. This has worked for both Acrobat 9 and Acrobat DC. We're now looking to switch to Acrobat 2017, and it looks like for some computers it works (except the title disappears when focus is lost) and some computers the Acrobat will error out. Does anyone know a workaround?

 

Below, the steps I can take to produce the error and the sample code that opens it up

 

SAMPLE STEPS

 

  1. Opening a PDF via an application and set title (see sample code)
  2. View PDF
  3. Lose focus of PDF
  4. Go back to PDF (title switches to GUID)
  5. Close PDF
  6. Opening a PDF via an application and set title (see sample code)

    Get the following error


    Debugging I see

    Unhandled exception at 0x5F696E3D (Acrobat.dll) in Acrobat.exe: 0xC0000005: Access violation writing location 0x00000014. occurred

 

 

 

 

 

 

SAMPLE CODE BELOW

 

public static void OpenFile(int handle, string pdfLocation, string description)

{

 

 

var gAppClass = new Acrobat.AcroApp();

var avDOC = new Acrobat.AcroAVDoc();

 

 

OpenAvDoc(handle, avDOC, pdfLocation);

 

 

avDOC.BringToFront();

gAppClass.Show();

 

 

 

 

  avDOC.SetTitle(description);

 

 

}

 

 

 

 

 

 

private static bool OpenAvDoc(int handle, Acrobat.AcroAVDoc avDOC, string pdfLocation)

{

bool result = false;

// if no foreground, or couldn't open window, open normally.

if (handle <= 0 || !avDOC.SetViewMode(0))

{

result = avDOC.Open(pdfLocation, "");

 

 

}

else

{

 

 

try

{

result = avDOC.OpenInWindowEx(pdfLocation, handle, (int)Acrobat.AVOpenParams.AV_PAGE_VIEW, 1, 0, (short)Acrobat.PDViewMode.PDUseNone, (int)Acrobat.AVZoomType.AVZoomFitWidth, 0, (short)9999, (short)9999);

}

catch

{

result = avDOC.Open(pdfLocation, "");

}

 

 

 

 

}

return result;

}

How to use external data to fill in an existing PDF form in JavaScript?

$
0
0

Hi all,

I've got a question which is : I have data from a database, now I need to use the data to fill in a PDF form?

 

To be more specific, for example, there are "name", "phone number" and "address" fields in my database, I want to catch these data to fill in an existing PDF form. The PDF form also has these three fields. I have no idea about how to implement in JavaScript. Really need some help.

 

Thank you so much for any suggestion.

 

Cheers,

Max

Bidirectional communication between plugin and broker

$
0
0

Is there a way to send messages from the broker back to the plugin?

For now the only way I can see is the output parameter for a cross call. This is not working because the broker gets asynchronous requests and has to send the information to the plugin.

 

I'd like to send messages from the broker to the plugin in the same comfortable way like sending from the plugin to the broker. Is this possible?

Compare two pdf field names

$
0
0

How to compare two pdf field names?

If the fields names are different then change them to be exactly the same.

If the fields have scripts or calculation then change them also to be the same.

Thanks,

Norbert

Pdf to word

$
0
0

Hi,

Is there a solution to achieve, conversion from pdf to word rendering and integrate in my application using c# code, dll, exe.


SignPlugin tools showing an error as bad key pair file.

$
0
0

Hi,

 

My company submitted a RIKLA application and it has been approved. I've taken the received certificate file and combined with the keypair file I generated, have executed SignPlugin.exe, but it shows an error as 'Bad key pair file'. I have used it as given below.

 

SignPlugin -kp '..\private_key\key_pair' -cf '..\Adobe Plugin\RIKLA-DigCert.cc' ..\Adobe Plugin\SamplePlugin.api'

 

I have tried with both public as well as private keypair file.

 

Any help will be highly appreciated.

 

Regards,

 

Jinosh K Chacko

How can I save a open stream as PDF automatically

$
0
0

I use the Adobe Reader (XI, DC, 2017, 2018) and programmed a third party plugin for it. Now I'd like to convert the open stream, that is appeared in the pdf viewer activex control of the used internet explorer.

I experienced with AVDoc, PDDoc and ASFile, but nothing works.  Does anyone have a solution for me?

Is it even possible with Reader?

 

Greets,

Alex

Create, view and silent print from .NET application

$
0
0

We have a .NET application that creates, views and prints PDF reports, and would like functionality for that without any extra (no adobe popup windows, preset adobe buttons, etc). What would be the cheapest Adobe SDK/product to buy that supports this?

SDK capabilities to change chart bar color global in .pdf

$
0
0

I need a way to wrote code to read through a pdf and change the chart bar color (when it is brown, I need to change it to orange) and was wondering if there were an SDK with that cabilities.  I would like to automate this with some 'C' language so I could launch this after another application.

 

[Here is the list of all Adobe forums... https://forums.adobe.com/welcome]

[Moved from Reader to Acrobat SDK... Mod]

Auto OCR in folders

$
0
0

I am led to believe that there is a Adobe Professional plug-in that with the right scrip will auto open scanned documents and OCR them saving the file in the same folder.

Does anybody know what this product is and can it be used on different folders in a network structure or do you need multiple instances for different networks?

 

To whom it concerns

 

This process of trying to contact Adobe to get information is the worst experience i have ever had on a vendor site. I would have expected the process to be simple and elegant.

Very disappointing for such a global company!

Viewing all 2571 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>