
This method will recalculate the zoom scale by the zoom factor provided. For example a zoom factor setting of 1.1 will zoom in on the block object, and a zoom factor setting of 0.9 will recalculate the zoom scale based on the current zoom setting.
Returns the following according to the situation:
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_BlockView_Zoom MyControlReference [as Reference] rZoomFactor [as Float] ) |
An alternative convention is to identify the control by providing the project file, the dialog name and the control name:
Copy Code |
|---|
(Odcl_BlockView_Zoom ProjectFile [as String] DialogName [as String] ControlName [as String] rZoomFactor [as Float] ) |
Copy Code |
|---|
; Zoom in (Odcl_BlockView_Zoom MyProject_MyForm_MyControl 1.1) |