Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
385
Printing the first few rows on a grid on every page
posted

I am using the UltraWinGrid and I need to print the first three rows on every new page.  Is there anyway to do this?  Here is the code I am currently using:

Dim

 

pdSetup As New System.Drawing.Printing.PrintDocument

With pdSetup.DefaultPageSettings.Margins
 .Top = 20
 .Right = 80
 .Left = 10
 .Bottom = 30
End With

 

 

 

 

 

 

pdSetup.DefaultPageSettings.Landscape =

True

pdSetup.DefaultPageSettings.Landscape = True
grdDemoShift.Print(grdDemoShift.DisplayLayout, pdSetup, RowPropertyCategories.Appearances Or _
                                     RowPropertyCategories.Height Or _
                                     RowPropertyCategories.RowSpacing Or _
                                     RowPropertyCategories.CellAppearance Or _
                                     RowPropertyCategories.Description Or _
                                     RowPropertyCategories.Expanded Or _
                                     RowPropertyCategories.UnboundData)

Parents
No Data
Reply Children
No Data