setZoom
[ Function ]
public setZoom(valueNew: 'auto' | 'page-fit' | 'page-width' | 'page-height' | string | null)
This function sets a new value for the Zoom attribute.
Parameter
Name | Type | Description |
|---|---|---|
newValue | '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. |
See also
Attribute getter: getZoom
Origin: PDF Viewer
![]() | Available from version 1.12 |
