Hi,
I'm trying to figure out how I can hide the document dimensions that are displayed on the UI in the bottom left hand corner, to the immediate left of the horizontal scrollbar. Right now, mine says "21.00 x 29.70 cm" ... I want that to go away, it has no value in the context in which I'm using the viewer.
My main problem might be not knowing what that thing is called because searching through the forums here and also throughout the documentation has proven fruitless in me finding a solution to this.
Can I get rid of it?
Hide Document Dimensions On User Interface
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 47
- Joined: Mon Apr 04, 2011 4:44 am
-
- Site Admin
- Posts: 5223
- Joined: Tue Jun 29, 2004 10:34 am
Re: Hide Document Dimensions On User Interface
I am 99% sure it cannot be removed - but will ask the Project manager to confirm - this is the paper size and I am slightly bemused as to why you are so keen to remove it ?
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.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
-
- User
- Posts: 47
- Joined: Mon Apr 04, 2011 4:44 am
Re: Hide Document Dimensions On User Interface
I'm leveraging the ability for images, RTF documents, and text documents to be converted into PDF documents so that I can use the PDF XChange Viewer as a general purpose viewer in our application (maybe I'm crazy but this seems to work WELL!). When I see the dimensions print-out on bottom, it strikes me as out of place in this context... so I feel compelled to remove it.
Am I crazy?
Either way, please let me know if it can be removed... if not, it's not a big deal.
Thanks,
-John
Am I crazy?

Either way, please let me know if it can be removed... if not, it's not a big deal.
Thanks,
-John
-
- Site Admin
- Posts: 2448
- Joined: Thu Jun 30, 2005 4:11 pm
Re: Hide Document Dimensions On User Interface
Hi, John.
Sorry, it cannot be removed in current version. You can hide it with scroll bars only. To hide scroll bars with 'page size' control: You will be able to customize this further in the new Viewer version (V3)...
Best
Regards.
Sorry, it cannot be removed in current version. You can hide it with scroll bars only. To hide scroll bars with 'page size' control:
Code: Select all
pdfViewer.SetDocumentProperty(docId, "View.ShowScrollBars", "false", 0);
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.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 47
- Joined: Mon Apr 04, 2011 4:44 am
Re: Hide Document Dimensions On User Interface
No worries, thanks for the prompt responses as usual.
You guys rock.
-John
You guys rock.
-John
-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am
Re: Hide Document Dimensions On User Interface
You are welcome John!
Cheers,
Stefan
Cheers,
Stefan
-
- User
- Posts: 51
- Joined: Mon Apr 16, 2012 3:04 pm
Re: Hide Document Dimensions On User Interface
Hey all. I was also searching for a way to hide this and came across this thread. I see Vasyl's code, but I'm not sure where to put it. Could someone please explain how I can make use of it. Appreciate it. 

-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am
Re: Hide Document Dimensions On User Interface
Hello Ted,
This is a developer topic, and the code Vasyl has posted is usable with our Viewer AX SDK. If you are using the Viewer AX SDK it will be pretty obvious where you need to place that, and if you are using our end user Viewer - I am afraid that you can't hide those dimensions in it.
Best,
Stefan
This is a developer topic, and the code Vasyl has posted is usable with our Viewer AX SDK. If you are using the Viewer AX SDK it will be pretty obvious where you need to place that, and if you are using our end user Viewer - I am afraid that you can't hide those dimensions in it.
Best,
Stefan
-
- User
- Posts: 51
- Joined: Mon Apr 16, 2012 3:04 pm
Re: Hide Document Dimensions On User Interface
Okay, thanks. I realized after I posted that this was the developer forum and I was probably out of luck. Thanks for the reply though and letting me know for sure. Much appreciated. 

-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am