PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)
Moderators:PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
SetProperty("Commands[\"FullScreenMode\"].State", "On", 0);
DoVerb(null, "ExecuteCommand", "FullScreenMode", out dataOut);
Without setting the command to "On", I get the "Command is disabled currently" exception.
The command also does not work in your "FullDemo" demo project.
Steps to reproduce:
1. Document-Tab: load a pdf
2. View-Tab: activate some toolbars,
3. Commands-Tab:
a: select "33014 FullScreenMode" (currently offline) and hit button "Turn On"
b: select item again and click "Execute"
=> nothing happens.
Also I can't enable "FullScreenModeExit". But I think that's because the fullscreen mode is not active, right?
Could you please have a look at these topics?
Thank you!
I'm afraid the "FullScreenMode" command is inaccessible in SDK mode, this feature is for end-user only.
In v3 SDK we will implement it for developers also...
Currently you may realize your own "FullScreen" feature. For this:
- maximize your form to current work-area
- maximize our control in your form
- hide all toolbars/subpanes in our control...
Best
Regards.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
2.2.2.2.1 Command List
FullScreenMode 33014 FullScreen Full Screen Maximizes Window to Full Screen
FullScreenModeExit 33020 Full Screen Exit Restores Window from Full Screen
It took me more than 2 hours to find out that it's "end-user only"
Apologies CEW for the misinformation in the Help File - this is due to the fact it was extracted from a table containing over 500 UI commands in the Viewer that allow functionality currently in the end user viewer to be added to the Developer SDK - now or at a future date.
In compiling the Help - this was added in error ...
It cannot easily be added in the current application architecture to the SDK due to the way the the form container functions when placed in your application - as already intimated this will be modified to allow this functionality in Version 3 of the SDK.
It was a genuine error and we do apologise for the wasted time ...
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Hi, i'm a developer dealing with the same problem. In the reply i see this function is not yet available and we need to simulate this functionality somehow for now.
I don't want to hijack this topic, but since it is the same issue i post it here.
Situation:
The user is viewing a windowed viewer that is part of a complete userinterface with a bunch of other stuff.
Some button on a toolbar under the viewer has a "fullscreen" function.
The user presses the button, expecting a full view of the document in the viewer.
Obviously i can make a fullscreen container with a fullscreen viewer on it.
I can load the same document in this 2nd - fullscreen - viewer than was being shown in the first - windowed - viewer.
It would be nice though if you could post how we can make it so that we get the same position in the document as was shown in the first viewer (i.e. the user scrolled down to page 3, so i want to copy this position to the fullscreen viewer). Same might go for the zoom setting and the pagelayout and maybe there are more like these?
So basicly my question is: if we need to simulate this fullscreen functionality, how do i copy the position and layout settings from the first to the second viewer and which settings should this be?
Could you direct me to how I could trigger the "Simulation Mode". I'm using your Xchange Viewer SDK in combination with java. I'm using pure OLE Calls, where, as I understand, is the Fullscreen function disabled. So anything that I open through OLE Container will have this functionality disabled.
1. Create your own OLE-container as simple popup window without caption and borders.
2. This window must embed our pdf-control and our control (without toolbars and menus, the tab-bar is hidden also) must take entire client area of this window (process each WM_SIZE event). Note: your program can use more than one of our controls at the same time.
3. add to your UI the button 'Go to Fullscreen' or something similar..
4. when user activates FS then your application should create such popup window with embedded pdf-control, programmatically open the same document, go to the same page, and then - show and maximize this popup window on the desktop.
HTH.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.