Change position and size of a rectangle, created by 'Rectangle Link Tool' manuelly with the help of Editor SDK

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.
SonGokuOnBikeNext
User
Posts: 4
Joined: Mon Oct 05, 2020 10:54 pm

Change position and size of a rectangle, created by 'Rectangle Link Tool' manuelly with the help of Editor SDK

Post by SonGokuOnBikeNext »

Hi all,

is it possible to change rectangle position and size of a bookmark inside a page with the help of PDF-Xchange Editor SDK later?
image1.png
If yes, could please provide a sample code.

Any help will be appreciated.

Thank you and best regards.
You do not have the required permissions to view the files attached to this post.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am

Re: Change position and size of a rectangle, created by 'Rectangle Link Tool' manuelly with the help of Editor SDK

Post by Sasha - Tracker Dev Team »

Hello SonGokuOnBikeNext,

You can use the https://sdkhelp.pdf-xchange.com/view/PXV:op_annots_move method to move the required link annotation.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
SonGokuOnBikeNext
User
Posts: 4
Joined: Mon Oct 05, 2020 10:54 pm

Re: Change position and size of a rectangle, created by 'Rectangle Link Tool' manuelly with the help of Editor SDK

Post by SonGokuOnBikeNext »

Hi Alex,

that's great.
op.annots.move works like a charm :D

Thank you very much and best regards

Roland
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am

Change position and size of a rectangle, created by 'Rectangle Link Tool' manuelly with the help of Editor SDK

Post by Sasha - Tracker Dev Team »

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