Check boxes do not save to pdf correctly
-
- Posts: 206
- Joined: Thu Sep 15, 2005 1:41 am
- Location: California
Check boxes do not save to pdf correctly
They are misaligned and look like an "e". I used your ThirdParty/MakePDF to do the test. I just added the RegisterClasses([TCheckBox]) in initialization. I have sent the rvf I used to test with in a separate email.
Re: Check boxes do not save to pdf correctly
add when making Metafile
Result.Enhanced := True; // format EMF
By default Enhanced = False, and metafile is created in old format (WMF).
function TfrmMakePDF.MakePageMetafile(PageNo, Width, Height: Integer): TMetafile;
begin
Result := TMetafile.Create;
Result.Width := Width;
Result.Height := Height;
Result.Enhanced := True;
srve.DrawPage(PageNo, Result, cbPageNoVisible.Checked, cbClipMargins.Checked,
False);
end;
in the next update, ScaleRichView will assign Enhanced = True by itself
Result.Enhanced := True; // format EMF
By default Enhanced = False, and metafile is created in old format (WMF).
function TfrmMakePDF.MakePageMetafile(PageNo, Width, Height: Integer): TMetafile;
begin
Result := TMetafile.Create;
Result.Width := Width;
Result.Height := Height;
Result.Enhanced := True;
srve.DrawPage(PageNo, Result, cbPageNoVisible.Checked, cbClipMargins.Checked,
False);
end;
in the next update, ScaleRichView will assign Enhanced = True by itself
-
- Posts: 206
- Joined: Thu Sep 15, 2005 1:41 am
- Location: California
Problem not fixed
I just downloaded the most recent TSRichViewEdit and demos. I checked that Enhanced = true, which is now the default, but set it anyway. I used your MakePDF demo and the resulting PDF still had what looks like the letter "e" instead of the checkboxes. The strange thing is that I believe your demo worked a month ago when you first posted the reply, but I could not make my code work. I thought I'd try again and now your demo does not work.
I've sent a sample rvf and the resulting pdf and the MakePDF project in a separate email.
I've sent a sample rvf and the resulting pdf and the MakePDF project in a separate email.
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
May be you compiled your projects with older version of ScaleRichView somehow?
Please test this compiled demo:
http://www.trichview.com/support/files/ ... alepdf.zip
Please test this compiled demo:
http://www.trichview.com/support/files/ ... alepdf.zip
-
- Posts: 206
- Joined: Thu Sep 15, 2005 1:41 am
- Location: California
Demo worked fine - think its IIPDFLIB
I have not been able to upgrade IIPDFLib since June 23, 2005 when I bought it, never get a response from them. Trying again today, I see they have several upgrades, but I can't get to them.
I have compiled TSRichView, the speed improvements are obvious.
If you have a way of getting to IIPDFLIb, please let them know I never get a response. I post emails via their website, but nothing comes back.
I have compiled TSRichView, the speed improvements are obvious.
If you have a way of getting to IIPDFLIb, please let them know I never get a response. I post emails via their website, but nothing comes back.
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 206
- Joined: Thu Sep 15, 2005 1:41 am
- Location: California