ImageEn, unit iexLayers

TIELayer.ConvertToPolylineLayer

TIELayer.ConvertToPolylineLayer


Declaration

procedure ConvertToPolylineLayer();


Description

Changes the type of the current layer to TIEPolylineLayer. Only TIEShapeLayers, TIELineLayers and TIETextLayers (with a border shape) can be converted.


Example

// Convert the current layer to a polyline, and allow the user to edit its points
ImageEnView1.CurrentLayer.ConvertToPolylineLayer();
ImageEnView1.MouseInteractLayers := [ mlEditLayerPoints ];