2
Answers

How to use a PrintView for gridview before the print with C#

Photo of m zied

m zied

11y
1.3k
1
I want to create a printPreview for gridview before the print, but I don't have any idea , in Visual Studio 2013 (C#), I used this instruction:

namegridView.ShowRibbonPrintPreview();


But this result was in english and I need to display in French.

After searching , I found this Instruction : 

InputLanguage.CurrentInputLanguage; 

but , I can't use this in my problem ,
I don't know if this function is useful or no ..




Answers (2)

0
Photo of m zied
NA 7 3.2k 11y
thank you for your answer :) 
but ,I forgot to tell you :
I used  DevExpress(GridControl) , and this control :PrintDocument1 and PrintPreviewDialog1((System.Drawing.Printing) don't exist with DevExpress and i can't merging DevExpress and System.Drawing.Printing together 
0
Photo of Frogleg
NA 7.9k 33k 11y
Here is one from a while ago