Search:     Advanced search

PointX(ItemID, SectionIndex, PointIndex)

Article ID: 294
Last updated: 24 Sep, 2010
Views: 848
Posted: 08 Dec, 2008
by Thomas B.
Updated: 24 Sep, 2010
by Murray D.

 

Description:

Returns the X value of a point recorded on a digitizer item.

Notes:

Creates a message showing the X Position of the first Point. of the currently selected item. (Must have item Selected.) Copy and paste code into a New PlanSwift Script.

Pascal Example:

AItem := CurrentItem;
ASection := CurrentSection;
ShowMessage('Point 1 X: ' + PointX(AItem,ASection,0));.

Visual Basic Example:

AItem = CurrentItem
ASection = CurrentSection
ShowMessage("Point 1 X: " + PointX(AItem,ASection,0))

.


Enterprise and Developer editions

This article was:  
Prev  Not what you're looking for? Suggest a topic  Next
AddPoint(ItemID, X, Y, SectionIndex = 0)     PointY(ItemID, SectionIndex, PointIndex)