Generate PDf with Adobe Acrobat

Hello,
Any suggestion on how I can use Adobe in my vb.net app  to generate PDF from system.bytes(memory Stream).

Thanks
RIASAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
There is no command line for Acrobat that you can call. Can you consider creating the PDF directly in VB?

http://vb.net-informations.com/files/create-pdf.htm
Shaun VermaakTechnical SpecialistCommented:
Don't see why you would create a PDF form a memory steam because it probably already is a PDF, just a byte array that needs to be saved as a file.

Anyways, for anything coding related, you need to use the Adobe PDF SDK
https://www.adobe.com/devnet/pdf/library.html
RIASAuthor Commented:
Thanks Shaun,

We have images saved in SQl server table in the type system.bytes. We need to export these images to PDF. Can I create a PDF portfolio from these system.byte?
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Shaun VermaakTechnical SpecialistCommented:
Okay, so you should convert the memory stream to bitmap/image object and save it using the Adobe PDF  library.

I have only used these libraries, not Adobe, unfortunately.
https://www.gemboxsoftware.com/pdf/examples/
https://github.com/itext/itextsharp
RIASAuthor Commented:
Thanks ! Will wait for an expert comment on PDF portfolio.

Thanks
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
I am not a .net deveopler, but I found this previous post that may get you started in creating a pdf portfolio from your code, https://www.experts-exchange.com/questions/23796397/Combine-PDFs-in-NET-to-make-PDF-Package-not-merge-PDF-documents.html#a22671183.  Perhaps Shaun can take you the rest of the way.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Shaun VermaakTechnical SpecialistCommented:
Hi Scott, yes that uses iTextSharp but OP insist using Adobe
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
To clarify, do you want to use the adobe sdk in your application and this will be targeted only for users that have licensed adobe acrobat on their  machine and following the documentation here https://www.adobe.com/devnet/acrobat/overview.html?
RIASAuthor Commented:
Hi Scott!
Yes, I have a licence of The SdK. Just need a link or blog to show how I can achieve the task.
Thanks
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
It looks like you have a couple of choices. The PDF Library SDK       or the Acrobat SDK.  Adobe has a comparison chart  https://www.adobe.com/devnet/pdf/library.html  Then some more specific sdk help https://www.adobe.com/devnet/acrobat.html with some samples https://help.adobe.com/en_US/acrobat/acrobat_dc_sdk/2015/HTMLHelp/#t=Acro12_MasterBook%2FSnippet_WritingSnippets%2FWriting_Snippets.htm.

It does look like you will have an easier time generating the pdf's from third party libraries such as those already pointed out though.
RIASAuthor Commented:
Thanks Scott! Will try and brb
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Software

From novice to tech pro — start learning today.