We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Adding Page Breaks to a printed grid

Thread ID:

Created:

Updated:

Platform:

Replies:

29950 Jun 8,2005 02:37 AM UTC Jun 8,2005 09:06 AM UTC WinForms 1
loading
Tags: GridControl
Sue Harris
Asked On June 8, 2005 02:37 AM UTC

Is it possible to programmatically add additional page breaks while printing a grid? I would like to be able to allow the user to specify a page break after certain rows. Any suggestions? Thanks, Sue

Administrator [Syncfusion]
Replied On June 8, 2005 09:06 AM UTC

The page breaks are computed in the GridPrintDocument.OnBeginPrint method. The breaks are in two arraylists that are members of grid.PrintInfo. So, you can derive GridPrintDocument, override OnBeginPrint, call the baseclass to populate the arraylists in the default manner, and then you can adjust these arraylists after the base class call. Here is a forum thread that discuss how to interpret these arraylists. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=23682

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;