If I export a chart to pdf with the export feature, it will not open in Adobe Reader X.
"Error exists on this page" message appears.
PDF Export will not open in Adobe Reader X
Re: PDF Export will not open in Adobe Reader X
Hello lilo,
Using last version of TeeChartFor.Net and next code:
The export is showed correctly in ADOBE READER X as you can check in my attached pdf. If you can not open this pdf correctly in your machine, please install again ADOBE READER X and try again to open my .pdf file and your .pdf file.
Thanks,
Using last version of TeeChartFor.Net and next code:
Code: Select all
public Form1()[attachment=0]Testpdf.zip[/attachment]
{
InitializeComponent();
InitializeChart();
}
private void InitializeChart()
{
Steema.TeeChart.Styles.Line line1 = new Line(tChart1.Chart);
line1.FillSampleValues();
}
private void button1_Click(object sender, EventArgs e)
{
tChart1.Export.Image.PDF.Save(@"C:\tmp\Testpdf.pdf");
}
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: PDF Export will not open in Adobe Reader X
Your chart opens correctly. If I try to export my chart with custom axes, formatting, etc, the chart will not open.
Re: PDF Export will not open in Adobe Reader X
My project might give you a better idea of what the problem is.
http://www.geologynet.com/logplotms/logplotmssetup.exe
Go to Help Menu-Demo Data to get started.
http://www.geologynet.com/logplotms/logplotmssetup.exe
Go to Help Menu-Demo Data to get started.
Re: PDF Export will not open in Adobe Reader X
Hello lilo,
Thanks for your application, but we need the code. Could you arrange for me a simple code where you can reproduce your problem because we can try to reproduce exactly your problem here?
Thanks,
Thanks for your application, but we need the code. Could you arrange for me a simple code where you can reproduce your problem because we can try to reproduce exactly your problem here?
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: PDF Export will not open in Adobe Reader X
As a workaround, I am going to use print to pdf using a pdf driver. This works perfectly for me.
Is it possible to remove the export to pdf option in the Export Dialog?
Is it possible to remove the export to pdf option in the Export Dialog?
Re: PDF Export will not open in Adobe Reader X
I just downloaded latest version July 2012. With this version the pdf export works fine. However, one chart will not export shape fill types. Can you support filltypes in a future release? Also, the export does not support some custom embedded fonts?
Private Sub TChart1_AfterDraw(ByVal sender As Object, ByVal g As Steema.TeeChart.Drawing.Graphics3D) Handles TChart1.AfterDraw
'Hatch Fill
myGraphicsRect.Height = RECT_HGT2 '- 4 '(point2.X, point1.Y, point2.X, point2.Y)
myGraphicsRect.Width = RECT_WID2 '- 4
g.Rectangle(myGraphicsRect)
Dim br2 As New Drawing2D.HatchBrush(CType(PatBoxFillType2(i), Drawing2D.HatchStyle), PatBoxFillColor2(i), Drawing.Color.Transparent)
myGraphicsPath.AddRectangle(myGraphicsRect)
Dim FillReg As New Region(myGraphicsPath)
g.FillRegion(br2, FillReg)
'Custom Symbol Font
g.Font.Name = SymbolFont(i)
g.Font.Size = SymbolSize(i)
g.Font.Italic = SymbolItalic(i)
g.Font.Bold = SymbolBold(i)
g.Font.Underline = False 'SymbolUnderline(i)
g.Font.Color = SymbolColor(i)
' Get the font metrics.
Dim total_hgt As Single
Dim text_wid As Single
Dim text_hgt As Single
Dim text_bound_wid As Single
Dim text_bound_hgt As Single
Dim total_bound_wid As Single
Dim total_bound_hgt As Single
Dim theta As Single
Dim phi As Single
Dim FontFamily1 = New FontFamily(SymbolFont(i))
Dim Font = New Font(FontFamily1, SymbolSize(i), FontStyle.Regular, GraphicsUnit.Pixel)
End Sub
Private Sub TChart1_AfterDraw(ByVal sender As Object, ByVal g As Steema.TeeChart.Drawing.Graphics3D) Handles TChart1.AfterDraw
'Hatch Fill
myGraphicsRect.Height = RECT_HGT2 '- 4 '(point2.X, point1.Y, point2.X, point2.Y)
myGraphicsRect.Width = RECT_WID2 '- 4
g.Rectangle(myGraphicsRect)
Dim br2 As New Drawing2D.HatchBrush(CType(PatBoxFillType2(i), Drawing2D.HatchStyle), PatBoxFillColor2(i), Drawing.Color.Transparent)
myGraphicsPath.AddRectangle(myGraphicsRect)
Dim FillReg As New Region(myGraphicsPath)
g.FillRegion(br2, FillReg)
'Custom Symbol Font
g.Font.Name = SymbolFont(i)
g.Font.Size = SymbolSize(i)
g.Font.Italic = SymbolItalic(i)
g.Font.Bold = SymbolBold(i)
g.Font.Underline = False 'SymbolUnderline(i)
g.Font.Color = SymbolColor(i)
' Get the font metrics.
Dim total_hgt As Single
Dim text_wid As Single
Dim text_hgt As Single
Dim text_bound_wid As Single
Dim text_bound_hgt As Single
Dim total_bound_wid As Single
Dim total_bound_hgt As Single
Dim theta As Single
Dim phi As Single
Dim FontFamily1 = New FontFamily(SymbolFont(i))
Dim Font = New Font(FontFamily1, SymbolSize(i), FontStyle.Regular, GraphicsUnit.Pixel)
End Sub
Re: PDF Export will not open in Adobe Reader X
Hello lilo,
We have your request in bug list report with number[TF02016273]. We will try to fix it for upcoming versions of TeeChartFor.Net.
Thanks,
We have your request in bug list report with number[TF02016273]. We will try to fix it for upcoming versions of TeeChartFor.Net.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |