trichview.com

trichview.support




Insert Image!


Return to index


Author

Message

Bill

Posted: 04/30/2003 15:04:52


I want use ImageEn and TRichView together.

I use following code for inserting Picture inside TRichView:

var

   Picture: TPicture;

   G: TGraphic;

begin

  with DM.OpenImageDialog do

  begin

    if Execute then

    begin

      Picture := TPicture.Create;

      Picture.LoadFromFile(FileName);

      G := RV_CreateGraphics(TGraphicClass(Picture.Graphic.ClassType));

      G.LoadFromFile(FileName);

      fEditor.RichViewEdit.InsertPicture(FileName, G, rvvaMiddle);

    end;

  end;

end;


My questions:

Is it possible to use Third Party Image component with TRichView?


I use Trial version of TRichView (ver 1.7.10) and I am testing TRichView to

understand is it suit my needs or not?


Regards





Powered by ABC Amber Outlook Express Converter