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}
}
}
}
Hierarchy
-
↳ ICanvasDefinitionSetViewerSettings
Index
Properties
Properties
Optional
after
• after? : string | string[]
Inherited from ICanvasCommandDefinition.after
The next commands to be executed after this command completes.
Optional
scrollPosition
• scrollPosition? : Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math.PointF
X and Y coordinates of the visible area.
Optional
zoom
• zoom? : number
The zoom level (1
stands for 100%).
Optional
zoomMode
• zoomMode? : string
none
, bestFit
, bestFitShrinkOnly
, fitToWidth
, fitToHeight
, zoomControl
, fitToWidthShrinkOnly
, fitToHeightShrinkOnly