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, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, 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: 269
Joined: Tue Jul 07, 2015 3:30 pm

Adding a new Layer to an existing page

Post by whoit »

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.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Adding a new Layer to an existing page

Post by Sasha - Tracker Dev Team »

Hello whoit,

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

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
whoit
User
Posts: 269
Joined: Tue Jul 07, 2015 3:30 pm

Re: Adding a new Layer to an existing page

Post by whoit »

Hi Alex -

Is this capability available now?

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

Re: Adding a new Layer to an existing page

Post by Sasha - Tracker Dev Team »

Hello Wayne,

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

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
whoit
User
Posts: 269
Joined: Tue Jul 07, 2015 3:30 pm

Re: Adding a new Layer to an existing page

Post by whoit »

Alex-

Do you have timeframe when it will be available?

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

Re: Adding a new Layer to an existing page

Post by Sasha - Tracker Dev Team »

Hello Wayne,

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

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
whoit
User
Posts: 269
Joined: Tue Jul 07, 2015 3:30 pm

Re: Adding a new Layer to an existing page

Post by whoit »

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.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Adding a new Layer to an existing page

Post by Sasha - Tracker Dev Team »

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
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
whoit
User
Posts: 269
Joined: Tue Jul 07, 2015 3:30 pm

Re: Adding a new Layer to an existing page

Post by whoit »

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?
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Adding a new Layer to an existing page

Post by Sasha - Tracker Dev Team »

Hello Wayne,

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

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
whoit
User
Posts: 269
Joined: Tue Jul 07, 2015 3:30 pm

Re: Adding a new Layer to an existing page

Post by whoit »

Hi Alex -

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

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

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

Re: Adding a new Layer to an existing page

Post by Sasha - Tracker Dev Team »

Hello Wayne,

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

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply