Adding a new Layer to an existing page

A forum for questions or concerns related to the PDF-XChange Core API SDK

Moderators: TrackerSupp-Daniel, Tracker Support, Sean - Tracker, Chris - Tracker Supp, Vasyl-Tracker Dev Team, 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
whoit
User
Posts: 271
Joined: Tue Jul 07, 2015 3:30 pm

Adding a new Layer to an existing page

Post by whoit » Wed Dec 06, 2017 2:49 pm

How can I add a layer to an existing page?

I'd like to be able to:
1) Add a layer that I can also add text to (ShowTextBlock, for example)
2) Make the layer interactive in Acrobat/Viewers (turn on, off , for example)

Thanks.

User avatar
Sasha - Tracker Dev Team
User
Posts: 3975
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Adding a new Layer to an existing page

Post by Sasha - Tracker Dev Team » Wed Dec 06, 2017 2:55 pm

Hello whoit,

This will be available in one of the nearest future releases - right now you can't do that.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

whoit
User
Posts: 271
Joined: Tue Jul 07, 2015 3:30 pm

Re: Adding a new Layer to an existing page

Post by whoit » Tue Apr 03, 2018 1:52 pm

Hi Alex -

Is this capability available now?

Thanks,
Wayne

User avatar
Sasha - Tracker Dev Team
User
Posts: 3975
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Adding a new Layer to an existing page

Post by Sasha - Tracker Dev Team » Tue Apr 03, 2018 2:05 pm

Hello Wayne,

I'm afraid that this functionality is not yet implemented.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

whoit
User
Posts: 271
Joined: Tue Jul 07, 2015 3:30 pm

Re: Adding a new Layer to an existing page

Post by whoit » Wed Apr 04, 2018 5:38 pm

Alex-

Do you have timeframe when it will be available?

-Wayne

User avatar
Sasha - Tracker Dev Team
User
Posts: 3975
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Adding a new Layer to an existing page

Post by Sasha - Tracker Dev Team » Thu Apr 05, 2018 6:31 am

Hello Wayne,

Sadly, there is no eta for this one, though this is already planned for one of the nearest future builds.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

whoit
User
Posts: 271
Joined: Tue Jul 07, 2015 3:30 pm

Re: Adding a new Layer to an existing page

Post by whoit » Mon Jun 11, 2018 1:35 pm

Hi Alex -

I wanted to check again regarding Layers - will they be implemented soon?

I saw some documentation on Optional Content Groups - I believe that is the term in PDF for layers...is this the same?

Thanks.

User avatar
Sasha - Tracker Dev Team
User
Posts: 3975
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Adding a new Layer to an existing page

Post by Sasha - Tracker Dev Team » Mon Jun 11, 2018 1:51 pm

Hello Wayne,

As of the Layers Creation/Removal - this is being worked at right now, though this is not an easy task and these operations are absent in the majority of the PDF editors - thus we need to think through all of the details and logic. This is not a simple matter - so called Layers are a visual representation of the OCG/OCMD in the tree - that's all. The real deal are the physical Optional Content Groups that define the content and annotation visibility. The greatest task is to make this easy understandable and usable for users.
You can read more about those in the PDF Specification.
As for the ETA - not for the upcoming release, that's for sure - maybe the release after this.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

whoit
User
Posts: 271
Joined: Tue Jul 07, 2015 3:30 pm

Re: Adding a new Layer to an existing page

Post by whoit » Mon Jun 11, 2018 1:58 pm

What are the chances of implementing Layers in CoreAPI first - meaning that all the Visual UI stuff for the Editor
could be eliminated from the API and thus be completed sooner?

User avatar
Sasha - Tracker Dev Team
User
Posts: 3975
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Adding a new Layer to an existing page

Post by Sasha - Tracker Dev Team » Mon Jun 11, 2018 3:25 pm

Hello Wayne,

Well the end-user part is being implemented first. Then the needed methods will be created for the API usage.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

whoit
User
Posts: 271
Joined: Tue Jul 07, 2015 3:30 pm

Re: Adding a new Layer to an existing page

Post by whoit » Wed Dec 05, 2018 3:03 pm

Hi Alex -

When do you expect the Layer functionality to be available for CoreAPI ?

It's been a while now... :)

Thanks.

User avatar
Sasha - Tracker Dev Team
User
Posts: 3975
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Adding a new Layer to an existing page

Post by Sasha - Tracker Dev Team » Thu Dec 06, 2018 3:23 pm

Hello Wayne,

Not in the nearest months that's for sure - the implementation in the Editor itself has not been finished yet.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Post Reply