Zoom

Zoom level to be used initially.

Accepted formats: [zoom], [left offset], [top offset], page-width, page-height, page-fit, auto\nExample: zoom=200

Schema: tchmi:framework#/definitions/Path

Attribute getter

public getZoom(): 'auto' | 'page-fit' | 'page-width' | 'page-height' | string | null | undefined;

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

'auto', 'page-fit', 'page-width', 'page-height', string, null, undefined

The current value of the attribute.

Attribute setter

public setZoom(valueNew: 'auto' | 'page-fit' | 'page-width' | 'page-height' | string | null): void;

Parameter

Name

Type

Description

valueNew

'auto', 'page-fit', 'page-width', 'page-height', string, null

The new value of the attribute. If null is passed, the internal default value is used.

Return value

Type

Description

void

No return value.

Zoom 1:

Available from version 1.12