E
eversun
Unregistered / Unconfirmed
GUEST, unregistred user!
我用下面的办法打印pagecontrol的当前页,但结果只有屏幕的1/10大小,为何?
if MessageDlg('Print this form?', mtConfirmation, [mbYes, mbNo], 0) = mrYes then
with Printerdo
begin
begin
Doc;
PageControl1.Pages[0].PaintTo(Handle, 100, 900);
EndDoc;
end;
if MessageDlg('Print this form?', mtConfirmation, [mbYes, mbNo], 0) = mrYes then
with Printerdo
begin
begin
Doc;
PageControl1.Pages[0].PaintTo(Handle, 100, 900);
EndDoc;
end;