ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.

https://github.com/unvell/ReoGrid/issues

#1 2015-12-24 16:10:38

taxidev
Member
Registered: 2015-12-24
Posts: 1

Printing to Fit

Is there a way to change the paging to print on one page wide?  My sheet is automatically going to 2 pages wide and it doesn't present well.

Offline

#2 2015-12-25 00:07:28

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: Printing to Fit

That is determined by your paging settings, you could manually change the default system paging to force to print into one page. See https://reogrid.net/document/paging-and-print/

Use the API:

// change user paging
void sheet.ChangeColumnPageBreak(int oldIndex, int newIndex);
void sheet.ChangeRowPageBreak(int oldIndex, int newIndex);
void sheet.InsertColumnPageBreak(int index);
void sheet.InsertRowPageBreak(int index);
void sheet.RemoveColumnPageBreak(int index);
void sheet.RemoveRowPageBreak(int index);

// Restore to default system paging
void sheet.ClearAllPageBreaks();

Last edited by Jingwood (2015-12-25 00:08:02)

Offline

Board footer

Powered by FluxBB