Discussions
Sign In
•
Register
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In with LMD account
Sign In with LMD account
Categories
Recent Discussions
Categories
All Categories
1.1K
NG Controls
28
Announcements
60
LMD IDE-Tools
208
LMD ElPack
373
LMD-Tools
414
Feature Requests
38
In this Discussion
Rafael Maricca (LMD)
January 2015
TLMDPageSetupDialog - how to set orientation
Awak00m
January 2015
edited January 2015
in
LMD ElPack
Vote Up
0
Vote Down
Hi,
I can disable some controls in this dialog, using Options. OK. But is there any way to switch "Portrait/Landscape" before the dialog will be shown? I need to set "Landscape" and disable it. But "Portrait" is always selected.
Any idea?
Comments
2 Comments
sorted by
Votes
Date Added
Rafael Maricca (LMD)
January 2015
Posts: 0
Vote Up
0
Vote Down
Setting is provided by the current selected printer.
Example:
LMDPrinter1.GetSysPrinter.Orientation := TPrinterOrientation.poLandScape;
Now enable DisableOrientation option and you are done.
Sign In
or
Register
to comment.
Comments