hi personal...
I was looking at the forum trying to find a solution for my problem.
I want to send for a control C1.C1Preview 2.0 my FlexGrid, so that it can print.
I found the following code in the forum...
Dim c1doc As C1PrintDocument = New C1PrintDocument
Dim rPrintable As RenderC1Printable = New RenderC1Printable()
Dim printer As New C1FlexGrid.C1FlexGridPrintable(C1FlexGrid1)
printer.PrintInfo.PageBreak = PageBreaksEnum.OnColumn
rPrintable.Object = printer
rPrintable.SplitHorzBehavior = SplitBehaviorEnum.SplitIfNeeded
rPrintable.Width = "auto"
c1doc.StartDoc()
c1doc.RenderBlock(rPrintable)
c1doc.EndDoc()
More this same code shows me mistakes informing that no this declared,
"C1FlexGrid.C1FlexGridPrintable" and this line "PageBreaksEnum"
do I need to import some imports for him is recognized again???
I am directing an image of my code
Ednaldo Soares