Search:     Advanced search

function DigitizerType(ItemID)

Article ID: 299
Last updated: 24 Sep, 2010
Views: 880
Posted: 11 Dec, 2008
by Thomas B.
Updated: 24 Sep, 2010
by Murray D.

 

Description:

Returns the digitizer type of the specified item.

Notes:

Parameters
ItemID  (This is the ID of the Item you are accessing the properties of, such as CurrentItem, CurrentTab)

Possible return values: "AREA", "LINEAR", "SEGMENT", "COUNT","NONE"

Code returns the digitizer type of the currently selected item.  Copy and paste code into a New PlanSwift Script.

Pascal Example:

AItem := CurrentItem;
ShowMessage( 'Current Item is a ' + DigitizerType(AItem));

Visual Basic Example:

AItem = CurrentItem
ShowMessage("CurrentItem is a " + DigitizerType(AItem))


Enterprise and Developer editions

This article was:  
Prev  Not what you're looking for? Suggest a topic  Next
procedure SetDigitizerType(ItemID, Type)     procedure TrimToArea(ItemIDofLinear, ItemIDofArea)