View Report with 50% or 100%
Hello!
On my Form1 I have two Buttons:
One, which should show the Report and one, which should print the report.
But when I will show the report, I only see it at 22% and not with 50% or
100%.
Is it possible to show the report in 100% and 50% which is defined in the
OnKlick on the Button?
My actual source of the button is:
ppReport1.DeviceType:=dtPrinter;
ppReport1.Print;
Thank you very much in advanced
Daniel
On my Form1 I have two Buttons:
One, which should show the Report and one, which should print the report.
But when I will show the report, I only see it at 22% and not with 50% or
100%.
Is it possible to show the report in 100% and 50% which is defined in the
OnKlick on the Button?
My actual source of the button is:
ppReport1.DeviceType:=dtPrinter;
ppReport1.Print;
Thank you very much in advanced
Daniel
This discussion has been closed.
Comments
can
set the default zoom in the PreviewFormSettings property of the Report
component. If you are using an older version then you will need to set it in
the
OnPreviewFormCreate event of the Report with something like the following
code.
TppViewer(ppReport1.PreviewForm.Viewer).ZoomSetting := zs100Percent
For this code to compile you will need to add ppTypes to your uses clause as
this defines the ZoomSetting constants.
Hope this helps
Paul
Thank you very much, I had not seen this setting because I hadn't seen it in
the documentation, but now it works.I use Version 7 in Trial.
Daniel