hello,
I am trying to apply user setting of document layout using Pages.Layout. However, I noticed that when layout is Facing or Continuous Facing and when document has even number of pages ( 3 or more) first page will be shifted to the right. Comparing with your viewer app, this doesn't happen, only if I am using API.
Are there any other settings I need to set to make it no to shift?
Thanks,
Tatiana
First page is shifted
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 103
- Joined: Mon Mar 18, 2013 4:26 pm
First page is shifted
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am
Re: First page is shifted
Hi Tatiana,
Can you please try executing command 36353 (Show Cover Page in Facing Mode) and see if that will help?
Regards,
Stefan
Can you please try executing command 36353 (Show Cover Page in Facing Mode) and see if that will help?
Regards,
Stefan
-
- User
- Posts: 103
- Joined: Mon Mar 18, 2013 4:26 pm
Re: First page is shifted
Tried fCoPDFXCview.DoVerb('', 'ExecuteCommand', '#36353', dataOut, 0)
but it didn't work, saying that is is unknown command.
So, this are the steps:
1. I set Layout to Facing via API
2. Document (with 3 or more pages and even number of pages) shown with first page shifted
3. I click on Continues button (or any other document layout)
4. I click on Facing button
Result: first page is not shifted anymore
So why is that only after I run fCoPDFXCview.SetDocumentProperty(activeDocID, 'Pages.Layout','6', 0);
(set to Facing layout) the first page is shifted? Please Help....
but it didn't work, saying that is is unknown command.
So, this are the steps:
1. I set Layout to Facing via API
2. Document (with 3 or more pages and even number of pages) shown with first page shifted
3. I click on Continues button (or any other document layout)
4. I click on Facing button
Result: first page is not shifted anymore
So why is that only after I run fCoPDFXCview.SetDocumentProperty(activeDocID, 'Pages.Layout','6', 0);
(set to Facing layout) the first page is shifted? Please Help....
-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am
Re: First page is shifted
Hi Tatiana,
This is the end user UI command and should have worked.
Anyway - you should be able to do the following
SetProperty("Documents[#4095].ShowCoverPageInFacing", 1);
Regards,
Stefan
This is the end user UI command and should have worked.
Anyway - you should be able to do the following
SetProperty("Documents[#4095].ShowCoverPageInFacing", 1);
Regards,
Stefan