RVPrint.OnPrintComponent

General TRichView support forum. Please post your questions here
Post Reply
jgkoehn
Posts: 303
Joined: Thu Feb 20, 2020 9:32 pm

RVPrint.OnPrintComponent

Post by jgkoehn »

In version 22.2 of TRichView component RVPrint I am using Delphi12.1:
I am running into TRVBitmap however I can't find RVGraphic or the unit that contains this. (I would rather not upgrade to 22.4 if possible since we normally have to do quite a bit to support each update in our code.)

Code: Select all

procedure TfrmPrintPreview.RVPrintPrintComponent(Sender: TCustomRVPrint;
  PrintMe: TControl; var ComponentImage: TRVBitmap);
A note normally when a component is dropped on the form it pulls in the necessary units. This one is not pulling in the needed unit for TRVBitmap in Delphi12.1
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: RVPrint.OnPrintComponent

Post by Sergey Tkachenko »

I am sorry for the inconvenience.
For VCL, TRVBitmap is defined in RVClasses unit (and = TBitmap)
For FMX, TRVBitmap is defined in fmxRVClasses unit (as a special class)
jgkoehn
Posts: 303
Joined: Thu Feb 20, 2020 9:32 pm

Re: RVPrint.OnPrintComponent

Post by jgkoehn »

No worries you are an excellent programmer. I just couldn't solve it. Thank you for explaining
Post Reply