VS:GetZoom: Difference between revisions
Jump to navigation
Jump to search
(add alternate access) |
m (fix date) |
||
(One intermediate revision by the same user not shown) | |||
Line 21: | Line 21: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<remark> | <remark> | ||
(Orso, 2015.02.27): There are two possibilities to fetch the zoom. Suppose your zoom is 100%: | ([[User:Orso.b.schmid|Orso]], 2015.02.27): There are two possibilities to fetch the zoom. Suppose your zoom is 100%: | ||
* GetZoom: returns 100 | * GetZoom: returns 100 | ||
* GetPrefReal(500): returns 1 | * GetPrefReal(500): returns 1 | ||
Line 27: | Line 27: | ||
[sd 8/18/98] | [sd 8/18/98] | ||
Returns the percentage of the zoom factor in the current view. (100.0 would be the value if no zooming was done). | Returns the percentage of the zoom factor in the current view. (100.0 would be the value if no zooming was done). | ||
</remark> | |||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<version> | <version> | ||
Availability: from | Availability: from VectorWorks 8.0 | ||
</version> | </version> |
Revision as of 03:32, 24 May 2015
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Function GetZoom returns the percentage of the zoom factor in the current document view.
FUNCTION GetZoom : REAL;
def vs.GetZoom(): return REAL
Remarks
(Orso, 2015.02.27): There are two possibilities to fetch the zoom. Suppose your zoom is 100%:
- GetZoom: returns 100
- GetPrefReal(500): returns 1
[sd 8/18/98] Returns the percentage of the zoom factor in the current view. (100.0 would be the value if no zooming was done).
Version
Availability: from VectorWorks 8.0