If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Exporting Visio File to PDF in .NET
Hi All,
I am automating visio in vb.net. I have done with organisation chart in vb.net. Now I want to export that chart to pdf file programically. Any help will be greatly appreciated. Thnx in advance, Mos |
#2
|
|||
|
|||
Exporting Visio File to PDF in .NET
something like this should work,
al SaveFileDialog1.Filter = "pdf files (*.pdf)|*.pdf|All files (*.*)|*.*" SaveFileDialog1.FilterIndex = 1 SaveFileDialog1.RestoreDirectory = True If SaveFileDialog1.ShowDialog() = DialogResult.OK Then Dim strFile As String = SaveFileDialog1.FileName visDoc.ExportAsFixedFormat(VisFixedFormatTypes.vis FixedFormatPDF, strFile, VisDocExIntent.visDocExIntentPrint, VisPrintOutRange.visPrintAll) End If MsgBox("ExportComplete", MsgBoxStyle.Information, "ExportDocument") "Mos" wrote in message ... Hi All, I am automating visio in vb.net. I have done with organisation chart in vb.net. Now I want to export that chart to pdf file programically. Any help will be greatly appreciated. Thnx in advance, Mos |
Thread Tools | |
Display Modes | |
|
|