JVCL Help:TJvConversion.ConvertRead

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Reads BufSize bytes from the import source into the memory buffer pointed to by Buffer.


Pascal

 functionConvertRead(Buffer: PByte PAnsiChar; BufSize: Integer): Integer; virtual;


Parameters

Parameters Description
Buffer: PByte PAnsiChar A buffer to write to. The converter fills the buffer with data to transfer into the rich edit control.
BufSize: Integer Size of Buffer.


Return Value

Returns the number of bytes actually stored in Buffer.


Description

A TJvRichEdit control calls ConvertRead multiple times during an import operation. Each time this method is called the converter should read a chunk of the source file or stream, convert it, and put the converted data in Buffer.


See Also

TJvConversion.ConvertWrite


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page