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
Problem with InvalidatePreview
posted

I have an UltraGridPrintDocument that points to my UltraGrid- I then set it as the document in an UltraPrintPreviewDialog.

Using the advice from Andrew in a previous post, I tried to set the document's orientation to landscape, followed by InvalidatePreview:

ugrdPrintFundAccount.DefaultPageSettings.Landscape = True

uPrintPrevFundAccount.Document = ugrdPrintFundAccount

uPrintPrevFundAccount.InvalidatePreview()

uPrintPrevFundAccount.ShowDialog()

 

 
The landscape setting is still ignored- Does anyone have any ideas what I'm doing wrong here? 

 

 

Parents
No Data
Reply Children
No Data