Declaration
Automation:
void  PasteText ( [in]   ulong  Offset, [in]   bool  Unicode, [in]   bool  InsertMode) ;
Native (C++):
HRESULT  PasteText ( [in]   unsigned __int64  Offset, [in]   VARIANT_BOOL  Unicode, [in]   VARIANT_BOOL  InsertMode) ;
Parameters
OffsetPaste offsetUnicodePaste text as Unicode (True) or ANSI (False).InsertModeTrue to insert data, False to overwrite data.
Return Value
S_OK or standard OLE error code.
Remarks

Pastes text from the Clipboard to the given position. Pasted data either ovewrites the current document's data, or is inserted into the document, shifting existing data forward, depending on the InsertMode parameter.

Unicode parameter tells the Hex Editor to interpret the text in the Clipboard as UNICODE or ANSI. If Unicode is True, each character occupies two bytes, otherwise, it occupies a single byte.