You are here: C++ API > Structs, Records, Enums > dtsTextBlock Structure
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsTextBlock Structure

Buffer to receive text extracted by a file parser.

File: dtsviewr.h

Syntax
C++
struct dtsTextBlock { long textLen; long bufferSize; char * buf; dtsBookMark bookMark; unsigned long fractionRead; };
Members
Description
long textLen;
Amount of text returned
long bufferSize;
Size of the buffer pointed to by buf
char * buf;
Buffer to receive text
dtsBookMark bookMark;
Obsolete
unsigned long fractionRead;
Portion of the input that has been read (0 = none, 1000 = all)

When a viewer extracts text from a file, it returns the text in a dtsTextBlock, which is simply a buffer to store the text.

Copyright (c) 1995-2021 dtSearch Corp. All rights reserved.