TIETextLayer.ActivateEditor
Declaration
procedure ActivateEditor();
Description
Activates editing of the layer text by the user (i.e. user can begin typing to change the text)
Note:
◼ You can automatically start editing after adding a new text layer by adding loAutoTextEditing to
LayerOptions◼ You can specify the items of the right-click menu by setting
TextEditorPopupMenuExample
// Display the text editor for the current layer
if Layer is TIELineLayer then
TIELineLayer( ImageEnView1.CurrentLayer ).ActivateEditor()
else
if Layer is TIETextLayer then
TIETextLayer( ImageEnView1.CurrentLayer ).ActivateEditor();
See Also
◼ LayersCancelEditor◼ LayersEditingLayer◼ LayersTextEditor