Page 1 of 1

Cannot load image in TRichView

Posted: Mon Sep 19, 2016 11:56 pm
by pruettm
I have a RVF I am loading from a DB Stream that has 3 image files embedded in it. The first 2 load successfully, but the 3rd does not appear.

Funny enough I have a TRichView in our main application that shows it, but every attempt to load it in any other example fails.

I am sorry that I cannot provide an example app that demonstrates the issue, but I do have an RVF stream that I saved to file that should demonstrate the issue.

Any help or guidance would be of great relief to me.

On this PDF drive is the RVFStream.rvf file:

ftp://ftp.medevolve.com/development/Mat ... Stream.rvf

Posted: Tue Sep 20, 2016 7:15 am
by Sergey Tkachenko
RVF contains names of graphic classes used to store images.
This RVF contains: TBitmap, TBitmap, TdxSmartImage.
To load it, you need to call
RegisterClasses([TdxSmartImage])
one time before the first loading.

Posted: Tue Sep 20, 2016 2:01 pm
by pruettm
This resolved the issue. Thank you very much.