|
|
|
|
|
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. Note: This constant is only available for the HTML Editor field.. | displayModeHtmlSourceCode | The HTML source code is displayed in the HTML Editor control. Note: This constant is only available for the HTML Editor field.. | 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. Note: This constant is only available for the Kanban control field.. | 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. Note: This constant is only available for the Kanban control field.. | displayModeOnePage (Default value) | The document is displayed as it will be printed. Note: This constant is not available for the HTML Editor field.. | displayModeTwoPages | The document pages are displayed side by side. Note: This constant is not available for the HTML Editor field.. | 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. Note: This constant is not available for the Word Processing control or HTML Editor fields.. | displayModeWeb | The document is displayed as a Web page. Note: This constant is not available for the PDF Reader control field.. |
<Control used>: Control name Name of control to use: - 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 control to use: - 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. Note: This constant is only available for the HTML Editor field.. | displayModeHtmlSourceCode | The HTML source code is displayed in the HTML Editor control. Note: This constant is only available for the HTML Editor field.. | 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. Note: This constant is only available for the Kanban control field.. | 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. Note: This constant is only available for the Kanban control field.. | displayModeOnePage (Default value) | The document is displayed as it will be printed. Note: This constant is not available for the HTML Editor field.. | displayModeTwoPages | The document pages are displayed side by side. Note: This constant is not available for the HTML Editor field.. | 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. Note: This constant is not available for the PDF Reader control field.. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|