Hex Editor
Hex Editor - Binary File Editing Software for Windows

IFileDocument.Paste3 Method

HHD Software - Hex Editor Serial Port Monitor USB Protocol Analyzer Network Monitor
 
 
 
< PreviousTopNext >
Declaration
Automation:
void  Paste3 ( [in]   ulong  Offset, [in]   enum TextType  type, [in]   enum Paste3Flags  Flags) ;
Native (C++):
HRESULT  Paste3 ( [in]   unsigned __int64  Offset, [in]   enum TextType  type, [in]   enum Paste3Flags  Flags) ;
Parameters
OffsetPaste offsettype

Type of text in the Clipboard. Used only if Clipboard contains textual data, otherwise ignored. Can be one of the following values:

Text Type Value Description
TextTypeHexByte 0 Hexadecimal numbers (from 0 to 0xFF)
TextTypeHexWord 1 Hexadecimal numbers (from 0 to 0xFFFF)
TextTypeHexDword 2 Hexadecimal numbers (from 0 to 0xFFFF FFFF)
TextTypeHexQword 3 Hexadecimal numbers (from 0 to 0xFFFF FFFF FFFF FFFF)
TextTypeDecByte 4 Decimal numbers (from 0 to 255)
TextTypeDecWord 5 Decimal numbers (from 0 to 65535)
TextTypeDecDword 6 Decimal numbers (from 0 to 4,294,967,295)
TextTypeDecQword 7 Decimal numbers (from 0 to 18,446,744,073,709,551,615)

A number may be prefixed by the "0x" prefix which forces it to be in base 16.

Flags

Pasting flags. Can be one or more of the following values:

Flag Value Description
Paste3OverwriteMode 0x00000000 Overwrite existing document data with data from the Clipboard. May not be combined with Paste3InsertMode.
Paste3InsertMode 0x00000001 Insert Clipboard data at the given position, extending document's size. May not be combined with Paste3OverwriteMode.
Paste3LittleEndian 0x00000000 Treat text in Clipboard as integers that have little-endian byte order. Used only if Clipboard contains textual data. May not be combined with Paste3BigEndian.
Paste3BigEndian 0x00000002 Treat text in Clipboard as integers that have big-endian byte order. Used only if Clipboard contains textual data. May not be combined with Paste3LittleEndian.
Return Value
S_OK or standard OLE error code.
Remarks
Pastes data 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 flag in Flags parameter.
< PreviousTopNext >
Copyright © 2012 HHD Software. All rights reserved.