Jump to: navigation, search

Changes


SYSCLS DOCUMENT FITMODE

282 bytes removed, 11:19, 14 June 2023
}}
The DOCUMENT FITMODE is a classification that allows a ubik data designer do pre-define how a document will be initially presented on the client, before any pan-zoom user interaction was done. This gives the possibility to optimize the user experience when quickly browsing through documents. For multi-page documents, the setting applies to the first page only. The needed parameter can be provided individually for each document by defining a value the property "FIT_MODE" (see table below):
* 0 ... Unspecified (default): The document will be shown as it is (100%). If the document is larger than the presentation area it will be cropped randomly.
* 1 ... Fit to container: The document will be fitted to the presentation area in the UI. This will ensure that the document will not be cropped.
* 2 ... Fit to width: The document scaling will be adapted to use the full presentation area width. If the document height is larger than the presentation area height, it will be cropped.
* 3 ... Fit to height: The document scaling will be adapted to use the full presentation area height. If the document widthis larger than the presentation area width, it will be cropped.
== MetaProperties ==
! width=30% | Name !! width=30% | Data type !! Comment
|-
| FIT_MODE|| {{int}} || Document "Fit to" mode;<br/>0 - "Unspecified"<br/>1 - "Fit to container"<br/>2 - "Fit to width"<br/>3 - "Fit to height"
|}
392
edits