Interface ICanvasDefinitionSetViewerSettings
Provides properties to define the canvas zoom.
{
"type": "canvas",
"name": "editor",
"params": {
"initial": { ... },
"setViewerSettings": {
"zoom": 0.1,
"zoomMode": 'bestFit',
"scrollPosition": {x: 0, y: 0}
}
}
}
Package: ui-framework
Properties
after
The next commands to be executed after this command completes.
Declaration
after?: string | string[]
Property Value
Type | Description |
---|---|
string | string[] | The next commands to be executed after this command completes. |
scrollPosition
X and Y coordinates of the visible area.
Declaration
scrollPosition?: Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math.PointF
Property Value
Type | Description |
---|---|
Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math.PointF | X and Y coordinates of the visible area. |
zoom
The zoom level (1
stands for 100%).
Declaration
zoom?: number
Property Value
Type | Description |
---|---|
number | The zoom level ( |
zoomMode
none
, bestFit
, bestFitShrinkOnly
, fitToWidth
, fitToHeight
, zoomControl
, fitToWidthShrinkOnly
, fitToHeightShrinkOnly
Declaration
zoomMode?: string
Property Value
Type | Description |
---|---|
string |
|