以PDF格式保存文件 [英] Save file in PDF format

查看:83
本文介绍了以PDF格式保存文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用RichTextBox问题是我在TextBox中编写并在打开PDF文件时以PDF格式保存文件。 TextBox以PDF格式显示,但数据不以PDF格式显示。



我尝试过:



I am using RichTextBox problem is I am writing in TextBox and save file in PDF format when i open PDF file. TextBox show in PDF format but data not show in PDF format.

What I have tried:

RTFPrintCtrl1.SaveFile("C:\Users\Desktop\Print.pdf", RichTextBoxStreamType.PlainText)

推荐答案

富文本没有以PDF格式保存的标准选项:您需要找到可以包含在应用程序中的RTF到PDF转换器。

Google将提供帮助: RTF到PDF转换器VB.NET - Google搜索 [ ^ ] - 但是您可以找到一个完全符合您要做的事情。
Rich text does not have a standard option to save in PDF format: you will need to find an RTF to PDF converter that you can include in your app.
Google will help: RTF to PDF converter VB.NET - Google Search[^] - but it's up to you to find one that fits exactly what you are trying to do.


这篇关于以PDF格式保存文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆