Problem with Page Breaks

Questions and answers on how to use XLSReadWriteII 5.
Post Reply
maseline_98
Posts: 10
Joined: Fri Jan 20, 2012 11:49 pm

Problem with Page Breaks

Post by maseline_98 »

Code: Select all

    XLS[SHEET].PrintSettings.PrintTitles(-1, -1, 0, 0);

          with XLS[SHEET].PrintSettings.VertPagebreaks.Add do
          begin
            col   := 0;
            Row1  := 280;
            Row2  := 65535;
          end;


    XLS[SHEET].WorkspaceOptions          := [woFitToPage];
    XLS[SHEET].PrintSettings.FitWidth    := 1;
    XLS[SHEET].PrintSettings.FitHeight   := 500;
I'm trying to get the same excel functionality to:
Page Layout Tab-->Breaks-->Insert Page Break
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: Problem with Page Breaks

Post by larsa »

Hello

What is the problem now?
Lars Arvidsson, Axolot Data
Post Reply