|
|
|
|
|
DisplayMode (Property) In french: ModeAffichage
The DisplayMode property gets and changes: - the display mode in a Word Processing control,
- the display mode in a PDF Reader control,
- the display mode in an HTML Editor control,
- the display mode in a Kanban control.
// [Web mode] button WP_Doc.DisplayMode = displayModeWeb IF ScreenType() = stTablet THEN KANBAN_TASKS.DisplayMode = displayModeKanbanMultiList END Syntax
Getting the display mode of an Office control Hide the details
<Result> = <Control used>.DisplayMode
<Result>: Integer constant Current display mode of the control:
| | displayModeContinuous | The white space between pages is hidden. Remark: This constant is only available for HTML Editor controls. | displayModeHtmlSourceCode | The HTML source code is displayed in the HTML Editor control. Remark: This constant is only available for HTML Editor controls. | displayModeKanbanMultiList | Multiple lists can be displayed simultaneously in the Kanban control. This constant corresponds to the "Multiple lists" option in the "Details" tab of the Kanban control description window. Remark: This constant is only available for Kanban controls. | displayModeKanbanSingleList | Only one list will be displayed in the Kanban control. The other lists can be accessed by scrolling horizontally. This constant corresponds to the "Scrollable centered list" option in the "Details" tab of the Kanban control description window. Remark: This constant is only available for Kanban controls. | displayModeOnePage (Default value) | The document is displayed as it will be printed. Remark: This constant is not available for HTML Editor controls. | displayModeTwoPages | The document pages are displayed side by side. Remark: This constant is not available for HTML Editor controls. | displayModeTwoPagesWithCover | The document pages are displayed side by side. The first page is set as cover page. The first page is displayed on the right. Remark: This constant is not available for Word Processing or HTML Editor controls. | displayModeWeb | The document is displayed as a Web page. Remark: This constant is not available for PDF Reader controls. |
<Control used>: Control name Name of the control to be used: - Word Processing control.
- PDF Reader control to use.
- HTML Editor control.
- Kanban control.
Changing the display mode of an Office control Hide the details
<Control used>.DisplayMode = <New mode>
<Control used>: Control name Name of the control to be used: - Word Processing control.
- PDF Reader control to use.
- HTML Editor control.
- Kanban control.
<New mode>: Integer constant Display mode to apply to the control:
| | displayModeContinuous | The white space between pages is hidden. Remark: This constant is only available for HTML Editor controls. | displayModeHtmlSourceCode | The HTML source code is displayed in the HTML Editor control. Remark: This constant is only available for HTML Editor controls. | displayModeKanbanMultiList | Multiple lists can be displayed simultaneously in the Kanban control. This constant corresponds to the "Multiple lists" option in the "Details" tab of the Kanban control description window. Remark: This constant is only available for Kanban controls. | displayModeKanbanSingleList | Only one list will be displayed in the Kanban control. The other lists can be accessed by scrolling horizontally. This constant corresponds to the "Scrollable centered list" option in the "Details" tab of the Kanban control description window. Remark: This constant is only available for Kanban controls. | displayModeOnePage (Default value) | The document is displayed as it will be printed. Remark: This constant is not available for HTML Editor controls. | displayModeTwoPages | The document pages are displayed side by side. Remark: This constant is not available for HTML Editor controls. | displayModeTwoPagesWithCover | The document pages are displayed side by side. The first page is set as cover page and is displayed on the right. Remarks: - Using this constant changes the display mode but it does not change the document zoom in the PDF Reader control. To change the zoom, use the Zoom property.
- This constant is not available for Word Processing or HTML Editor controls.
| displayModeWeb | The document is displayed as a Web page. Remark: This constant is not available for PDF Reader controls. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|