Search found 3 matches

by voodoo
Mon May 29, 2006 1:53 pm
Forum: Support
Topic: Formatting metafiles in TRichView
Replies: 2
Views: 11783

Pratically, I want resize every metafile to fit into the preview area (one for each page and considering preview margins) and then print them to a printer. For the preview I've not found any property like PageWidth so I don't know how to fit the files into the previewer. I've modified the previous ...
by voodoo
Mon May 29, 2006 8:53 am
Forum: Support
Topic: Formatting metafiles in TRichView
Replies: 2
Views: 11783

Formatting metafiles in TRichView

Hi, I load several metafiles into a RichView, page breaking each one so I have one metafile per page. begin TheRichView.Clear; for i:=1 to pp do begin gr := TMetafile.Create; pic.Picture.LoadFromFile('C:\Temp\'+WFilePrefix+Format('%4.4d',[i])+'.WMF'); pic.Width:=ThePreview.AreaWidth; gr.Assign(pic ...
by voodoo
Tue May 23, 2006 3:11 pm
Forum: Support
Topic: Some questions about RichView
Replies: 2
Views: 13861

Some questions about RichView

I load a text file into a RichEditView. This text file can contain control characters (Form Feed, Escape sequences, etc) because the file is the print file coming from an external procedure. I want: a - Split the file in pages, each page with max. N lines. b - Convert each page into a bitmap ...