VS:GetVCenter: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Transfer Orso to _c_) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 31: | Line 31: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<remark> | <remark> | ||
([[User:CBM-c-|_c_]], 2015.03.01): This is not to be confused with the center of the page. The view center is always the center of the open window, so if you resize the window or pan somewhere else, for example, the view center will move accordingly. | |||
</remark> | |||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
Line 42: | Line 42: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<version> | <version> | ||
Availability: from | Availability: from VectorWorks 8.0 | ||
</version> | </version> |
Latest revision as of 05:54, 30 December 2020
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Procedure GetVCenter returns the VectorWorks document coordinates at the center of the drawing window.
PROCEDURE GetVCenter(
VAR centerX,centerY :REAL);
def vs.GetVCenter(): return center
Parameters
center REAL Returns view center point.
Remarks
(_c_, 2015.03.01): This is not to be confused with the center of the page. The view center is always the center of the open window, so if you resize the window or pan somewhere else, for example, the view center will move accordingly.
Example
Version
Availability: from VectorWorks 8.0