How to get content size (fast)

General TRichView support forum. Please post your questions here
Post Reply
11111
Posts: 25
Joined: Sat Feb 07, 2015 12:02 pm

How to get content size (fast)

Post by 11111 »

For now to calculate RV data size I do save to stream and the stream.size is size of the content, may you suggest more fast method ?
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Sorry, it is not possible without saving.
For faster saving, you can use TRVMemoryStream instead of TMemoryStream (defined in RVClasses.pas)
Post Reply