Ole EN
Ole EN
Create interface
There are two ways of referring the interface by employing a variant or a typefied variable
(importation obligatory of the Akewa TLB in this case).
Document management
Interface.CloseAll
Close all opened documents
Remarks :
The activation an already active document does not invoke any action.
Avoid closing a document if it must be re-used.
If documents to be opened are known when start the application it is preferable to open the
whole documents at start, all documents will be released when the interface will be closed. In
a general way avoid to open and close in your loops treatment (optimisation).
Printer management
Remarks:
When you open a document, the dependent printer becomes the current printer. The
selection of the printer already selected does not invoke any action.
Printing management
Interface.EndDataSession
End active document information session, printing is carried out by using all the information
since the BeginDataSession call
Remarks:
BeginDataSession and EndDataSession are not useful only for "Multiple" or "page" document
formats.
Database management
Preview management
Interface.PreviewStop
Stop the preview
Remarks:
PreviewPrev, PreviewNext, PreviewZoom are used in mode file or clipboard, PreviewFileName
is used only with mode. file
The update of the file or the clipboard is carried out after the call of PreviewStart,
PreviewPrev, PreviewNext, PreviewZoom, the destruction of the file must be carried out by
the application.
Other functions
Interface.DefaultReset
Set default value
Use example
Simple case:
Create interface.
2. Open documents. (OpenDocument)
This operating mode is useful only for the multiple format or page.
10. Create interface.
11. Open documents. (OpenDocument)
Use preview :