Printposition Property ?
At present , Printposition Property represent the vertical position from top
edge , and does not take care margin setting.
So that every time user amend top margin . i also need to amend those
component which have specific printposition value.
Is there chance that printposition take care of margin setting or how can i
do it?
Thanks a lot.
edge , and does not take care margin setting.
So that every time user amend top margin . i also need to amend those
component which have specific printposition value.
Is there chance that printposition take care of margin setting or how can i
do it?
Thanks a lot.
This discussion has been closed.
Comments
based on the margin settings of the printer in the BeforePrint event of that
band. For example, the following code would always place the Footer band 8
units from the bottom of the margin regardless of how wide the margins are.
--------------------------------------------------------------------
procedure TForm1.ppFooterBand1BeforePrint(Sender: TObject);
begin
ppFooterBand1.PrintPosition := 8 + ppReport1.PrinterSetup.MarginTop;
end;
--------------------------------------------------------------------
--
Cheers,
Alexander Kramnik
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com