Paste image progrmatically

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
stephen.starr
User
Posts: 123
Joined: Wed Mar 25, 2015 10:59 pm

Paste image progrmatically

Post by stephen.starr »

I am using v319 of the Editor SDK and I could not find anything on the forum related to this.

If I paste an image using the context menu I get a stamp annotation on the document. Is there a way that I can programatically paste an image, say from a file on disk, at a specified location on the document's page and have it create a stamp annotation?

I am trying to avoid adding these images to the Stamp Manager if possible.

Thank you,
Stephen
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Paste image progrmatically

Post by Sasha - Tracker Dev Team »

Hello Stephen,

Use this operation with the required settings:
https://sdkhelp.pdf-xchange.com/vie ... t_addImage

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
stephen.starr
User
Posts: 123
Joined: Wed Mar 25, 2015 10:59 pm

Re: Paste image progrmatically

Post by stephen.starr »

Perfect, thank you Alex. This is exactly what I need.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Paste image progrmatically

Post by Sasha - Tracker Dev Team »

:)
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply