How to Select Landscape orientation in page setup

Questions and answers on how to use XLSSpreadSheet.
Post Reply
luisgerman
Posts: 3
Joined: Sun Jul 07, 2019 8:01 pm

How to Select Landscape orientation in page setup

Post by luisgerman »

Hello:
Using XLSSpreadSheetAdvanced demo, On page setup menu, how to select or set Landscape orientation?.
Is there any way to specify percent scale?
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: How to Select Landscape orientation in page setup

Post by larsa »

Hello

The demo is just a demo. You have to add this yourself.
Example:

Code: Select all

  FXSS.XLS[0].PrintSettings.Options := FXSS.XLS[0].PrintSettings.Options - [psoPortrait];
If you want to zoom, use:

Code: Select all

FXSS.XLS[0].Zoom := 50;
Lars Arvidsson, Axolot Data
Post Reply