You are here: C++ Support Classes > dtSearch Namespace > Classes > DFileConvertJob Class > SetInputText Method > DFileConvertJob::SetInputText Method (const char *, ptrdiff_t, const char *, int)
DFileConvertJob::SetInputText Method (const char *, ptrdiff_t, const char *, int)
Close
dtSearch Text Retrieval Engine Programmer's Reference
DFileConvertJob::SetInputText Method (const char *, ptrdiff_t, const char *, int)
Syntax
C++
void SetInputText(const char * text, ptrdiff_t nBytes, const char * aFn, int aTypeId);
Parameters
Description
const char * text
Text to use as input
ptrdiff_t nBytes
Length of the text
const char * aFn
Filename, indicating the source of the text (can be null)
int aTypeId
Type id specifying the file type of the input data.

Sets the input text to be converted, for conversion of a memory buffer instead of a disk file. The text must be a simple null-terminated string.