This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

TLMDPageSetupDialog - how to set orientation

edited January 2015 in LMD ElPack
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

  • 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.