Hi,
I want to create my own tool bar to use with the Preview Control. So basically turn the preview control toolbar off, and place the control on a form that has it's own toolbar. I can see that some of the toolbar functions can be called, but can't see them all (open for example). is there a standard way to call the functions as if the toolbar buttons had been clicked for all of the tools?
Regards,
J.
Creating Own Toolbar
Creating Own Toolbar
Yes, there is a way.
In the 2008.1 official release the following methods had been added:
The toolbar also can be hidden with ShowToolbar property of the StiPreviewControl
Thank you.
In the 2008.1 official release the following methods had been added:
Code: Select all
public void InvokeBookmarks();
public void InvokeClickExportButton();
public void InvokeClickOpenButton();
public void InvokeClickPageDeleteButton();
public void InvokeClickPageDesignButton();
public void InvokeClickPageNewButton();
public void InvokeClickPageSizeButton();
public void InvokeClickPrintButton();
public void InvokeClickSaveButton();
public void InvokeClickSendEMailButton();
public void InvokeClose();
public void InvokeDotMatrix();
public void InvokeFirstPage();
public void InvokeFullScreen();
public void InvokeLastPage();
public void InvokeNextPage();
public void InvokeOpen();
public void InvokePageDelete();
public void InvokePageDesign();
public void InvokePageNew();
public void InvokePageSize();
public void InvokePrevPage();
public void InvokePrint();
public void InvokeProcessExport(StiExportService service);
public void InvokeProcessSendEMail(StiExportService service);
public void InvokeSave();
public void InvokeThumbs();
public void InvokeToolEditor();
public void InvokeToolFind();
public void InvokeToolHand();
public void InvokeToolSelect();
public void InvokeViewModeContinuous();
public void InvokeViewModeMultiplePages();
public void InvokeViewModeSinglePage();
public void InvokeZoomIn();
public void InvokeZoomMultiplePages();
public void InvokeZoomOnePage();
public void InvokeZoomOutPages();
public void InvokeZoomPageWidth();
public void InvokeZoomTwoPages();
Thank you.
Creating Own Toolbar
Thanks Edward,
I've downloaded the 2008.1 trial & got just about everything working.
Couple of bit's of odd behaviour though, not sure if they are bugs?
InvokeZoomOnePage actually shows 2 pages and InvokeZoomMultiplePages just show a blank screen? Any Ideas?
Also, If I turn on the thumbnails pane with InvokeThumbs, the pane appears, but no thumnails?
Regards,
Jon.
I've downloaded the 2008.1 trial & got just about everything working.
Couple of bit's of odd behaviour though, not sure if they are bugs?
InvokeZoomOnePage actually shows 2 pages and InvokeZoomMultiplePages just show a blank screen? Any Ideas?
Also, If I turn on the thumbnails pane with InvokeThumbs, the pane appears, but no thumnails?
Regards,
Jon.
Creating Own Toolbar
I've downloaded the 2008.1 trial & got just about everything working.
Couple of bit's of odd behaviour though, not sure if they are bugs?
It possible if two pages can placed in viewer space.
Thank you.
Couple of bit's of odd behaviour though, not sure if they are bugs?
InvokeZoomOnePage actually shows 2 pages and
It possible if two pages can placed in viewer space.
We use special button for this function. You need release your own button. Please find attached code.InvokeZoomMultiplePages just show a blank screen? Any Ideas?
We have updated our code. Please call before this method, method BuildThumbs.Also, If I turn on the thumbnails pane with InvokeThumbs, the pane appears, but no thumnails?
Thank you.
- Attachments
-
- 47.Pack.ZIP
- (5.36 KiB) Downloaded 171 times