Posted 8 September 2017, 3:24 pm ESTHi, I'm using an old version of Spread for windows forms (5.0.3518.2008). I'm trying to use PDFStream while printing, but i can't get the stream while debuging, the length is always 0. I've read that i should use the "safrepint" method, but is not available in the version i'm using.
I hope you can help me.
Thanks in advance.
Dim stream As New MemoryStream
Dim prinset As New FarPoint.Win.Spread.PrintInfo()
prinset.ShowColor = True
prinset.PrintToPdf = True
prinset.ShowBorder = False
prinset.Margin.Left = 30
prinset.Margin.Top = 50
prinset.UseSmartPrint = True
prinset.Centering = FarPoint.Win.Spread.Centering.Horizontal
prinset.PdfStream = Stream
prinset.PdfWriteTo = FarPoint.Win.Spread.PdfWriteTo.Stream
FpSpread1.Sheets(0).PrintInfo = prinset