Import from canvas commands

General TRichView support forum. Please post your questions here
Post Reply
egal
Posts: 122
Joined: Wed Jul 03, 2013 10:49 am

Import from canvas commands

Post by egal »

Hello,
we have own print preview in our company. As editor is used PaintBox.Canvas, A4 format and sizes 0..2100 and 0..-2970 pixels.
For example:
PaintBox.Canvas.MoveTo(130, -200);
PaintBox.Canvas.LineTo(1800, -200);
PaintBox.Canvas.Font.Name: = 'Arial';
PaintBox.Canvas.Font.Height: = 32;
PaintBox.Canvas.TextOut (200, -300, 'test');
PaintBox.Canvas.MoveTo(130, -2500);
PaintBox.Canvas.LineTo(1800, -2500);
Is it possible import these canvas commands to TSRichViewEdit and edit the text?
Thanks!
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Sorry, no. Even if you write an import procedure, TSRichViewEdit does not support text positioning at the specified coordinates.
Post Reply