Import from canvas commands
Posted: Tue Aug 06, 2013 3:58 pm
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!
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!