Jump to: navigation, search

Difference between revisions of "SYSCLS DOCUMENT FITMODE"


(Created page with "{{ClassificationInfoBox | title = blabla | name = {{PAGENAMEE}} | inheritance = - | namespace = System.Classification.ARMARKER | purpose = Control the visibility of ARItems |...")
 
(See also)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{ClassificationInfoBox
 
{{ClassificationInfoBox
| title = blabla
+
| title = SYSCLS_DOCUMENT_FITMODE
 
| name = {{PAGENAMEE}}
 
| name = {{PAGENAMEE}}
| inheritance = -
+
| inheritance = SYSCLS_DOCUMENT
| namespace = System.Classification.ARMARKER
+
| namespace = System.Classification.Presentation
| purpose = Control the visibility of ARItems
+
| purpose = Document "Fit to" mode classification object
| version = 3+
+
| version = 2.6.3+
| id = {6C112C96-AD18-4594-86D3-906C5E480626}
+
| 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
 
|-
 
|-
| ARITEM_VISIBLE || {{Boolean}} || ARItem Visible
+
| 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:Classifications|SYSCLS DOCUMENT FITMODE]]

Latest revision as of 13:04, 30 October 2024

IC CLASSIFICATION.gif SYSCLS_DOCUMENT_FITMODE
Name SYSCLS_DOCUMENT_FITMODE
Inheritance SYSCLS_DOCUMENT
Namespace System.Classification.Presentation
ID {5ac5aa58-d59e-dc68-645d-0206ee75e688}
Purpose Document "Fit to" mode classification object
Version 2.6.3+

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"

See also