Purpose
Returns a polyline object that approximates the shape of another object. You can call this function from the MapBasic window in MapInfo Pro.
Syntax
ConvertToPline( object )
object is the object to convert; may not be a point object or a text object.
Return Value
A polyline object
Description
The ConvertToPline() function returns a polyline object which approximates the object parameter. Thus, if the object parameter represents a region object, ConvertToPline() returns a polyline that has the same shape and same number of nodes as the region.
The results obtained by calling ConvertToPline() are similar to the results obtained by choosing MapInfo Pro's Convert To Polylines command. However, the function ConvertToPline() does not alter the original object.
See Also: