Navigation:  Interfaces (Technical API Reference) > IWPTextCursor (Text creation and cursor positioning) > Methods >

IWPTextCursor.InputCode

Previous pageReturn to chapter overviewNext page

Applies to

IWPTextCursor

Declaration

 

int InputCode( int Mode: Integer; string Par1: WideString; string Par2: WideString);

 

Description

This Method creates a text object pair of type "wpobjCode". This type is reserved for XML editing.

Par1 will be assigned to the name, Par2 will be assigned to the "Source" property of the object.

The following mode bits can be set

1 : WrapSelectedText

2 : DeleteSelectedText

4: PlaceCursorAfterStart

8: DropMarkersOutside

16: DropMarkersInside