INTEGRAL DSL Reference Guide
Jump directly to:
::my.app.ReZoom(zoom)
This function changes the current zoom factor in the current INTEGRAL document. When the document is viewed in INTEGRAL Document Editor, this updates the zoom setting of the document's active panel and redraws it. When the document is exported using the Export or ExportToFile function, this impacts the document's output size.
Parameters
zoom
A positive real number that specifies the new zoom factor. The value 1.0 means 100%, i.e. actual size.
Return Value
The function returns DV_RET_OK on success and DV_RET_ERR on failure.
- const DV_RET_ERR = 0 — failure
- const DV_RET_OK = 1 — success
Example 1
::my.app.ReZoom(0.75);