Difference between revisions of "SYSCLS DOCUMENT FITMODE"
(→See also) |
|||
(8 intermediate revisions by 4 users not shown) | |||
Line 8: | Line 8: | ||
| id = {5ac5aa58-d59e-dc68-645d-0206ee75e688} | | id = {5ac5aa58-d59e-dc68-645d-0206ee75e688} | ||
}} | }} | ||
+ | |||
+ | 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. 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. | ||
== MetaProperties == | == MetaProperties == | ||
Line 14: | Line 20: | ||
! width=30% | Name !! width=30% | Data type !! Comment | ! width=30% | Name !! width=30% | Data type !! Comment | ||
|- | |- | ||
− | | FIT_MODE|| {{int}} || Document "Fit to" mode | + | | FIT_MODE|| {{int}} || Document "Fit to" mode;<br/>0 - "Unspecified"<br/>1 - "Fit to container"<br/>2 - "Fit to width" |
|} | |} | ||
Line 20: | Line 26: | ||
* [[HowTo:Create_a_new_Classification]] | * [[HowTo:Create_a_new_Classification]] | ||
* [[HowTo:Assign a Classification to a MetaClass]] | * [[HowTo:Assign a Classification to a MetaClass]] | ||
− | + | * [[UBIK_WinX_Client_Basics#Fit_Mode]] | |
{{Category/Version|3.0.0}} | {{Category/Version|3.0.0}} | ||
[[Category:3.0.0|SYSCLS DOCUMENT FITMODE]] | [[Category:3.0.0|SYSCLS DOCUMENT FITMODE]] | ||
+ | [[Category:Classifications|SYSCLS DOCUMENT FITMODE]] |
Latest revision as of 13:04, 30 October 2024
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. 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.
MetaProperties
Name | Data type | Comment |
---|---|---|
FIT_MODE | Int | Document "Fit to" mode; 0 - "Unspecified" 1 - "Fit to container" 2 - "Fit to width" |