Quantcast
Channel: Adobe Community: Message List - Acrobat SDK
Viewing all articles
Browse latest Browse all 10848

Re: How [Insert|Add] Image into Opening PDF file with Acrobat SDK.

$
0
0

Thank for your interested.

I use VB.NET and Acrobat

Here is some my code:

Try
  
If File.Exists(T(0))Then
  
Dim AcroAVDoc As AcroAVDoc = Ap.GetActiveDoc
  
Dim AcroPDDoc As AcroPDDoc = AcroAVDoc.GetPDDoc
  
Dim AcroPDPage As Acrobat.AcroPDPage = AcroPDDoc.AcquirePage(Integer.Parse(T(3)))

  
Dim data()AsString= T(1).Split("^")
  
Dim imgX = data(0)
  
Dim imgY = data(1)
  
Dim imgWidth = data(3)
  
Dim imgHight = data(4)

  
'TODO: insert into opening PDF file

  
Return1
  
EndIf
  
Catch ex As Exception
  
EndTry

I don not know what to do next to insert an image (JPEG, PNG, ..) into PDF file.

Can you show me or suggest some solution, idea?

Thank in advance.


Viewing all articles
Browse latest Browse all 10848

Trending Articles



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