VS:GetVCenter

From Vectorworks Developer
Revision as of 23:51, 28 February 2015 by Orso.b.schmid (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

.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

(Orso, 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

Template:WindowScreenSizes

Version

Availability: from VectorWorks 8.0
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox