当前位置:网站首页>C # convert ofd to PDF
C # convert ofd to PDF
2022-04-22 20:53:00 【Tobemia】
The method of conversion will PDF To OFD, Or will OFD To PDF. This time , Will pass through C# The program introduces how to realize OFD To PDF Transformation , And attach VB.NET Code for reference . Here are the specific methods and steps .
One 、 Follow the steps below to introduce Spire.Pdf.dll
step 1: stay Visual Studio Open in “ Solution explorer ”- Right click “ quote ”-“ management NuGet package ”.

step 2: choice “ Browse ”- Enter the search content in the search box , Select search results , Click on “ install ”.

step 3: In turn, click “OK”-" Accept ", Then wait for the program to complete the installation .
Two 、 Code example
On conversion , It only needs two lines of code , namely :
C#
using
Spire.
Pdf.
Conversion;
namespace
OFDtoPDF
{
class
Program
{
static
void
Main(
string[]
args)
{
// load OFD file
OfdConverter
converter
=
new
OfdConverter(
"test.ofd");
// To PDF Format preservation
converter.
ToPdf(
"ToPDF.pdf");
}
}
}
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
- 14.
- 15.
- 16.
VB.NET
Imports
Spire
.Pdf
.Conversion
Namespace
OFDtoPDF
Class
Program
Private
Shared
Sub
Main(
args
As
String())
' load OFD file
Dim
converter
As
New
OfdConverter(
"test.ofd")
' To PDF Format preservation
converter
.ToPdf(
"ToPDF.pdf")
End
Sub
End
Class
End
Namespace
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
Conversion effect :

—END—
版权声明
本文为[Tobemia]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204221727532235.html
边栏推荐
- L1-046 divide singles
- 中美程序员对比:你认同吗
- CmsEasy7. 6.3.2 logic vulnerabilities
- buuctf-[Flask]SSTI
- 88 r user portrait linear regression logical regression comprehensive practice 1
- 动态数据库工具——Database Inspector
- MySQL 进阶 触发器 -- 触发器介绍、触发器语法、触发器案例
- MySQL 第8章 数据库约束
- Lenovo computer housekeeper graphic introduction: how to download Lenovo computer housekeeper?
- Asynchronous replication of MySQL master-slave replication
猜你喜欢

Leetcode222. Number of nodes of complete binary tree

Dynamic database tool -- database inspector

Some understanding of sw-msa in swing-t

基于PAOGD_HW1的弹出的小球-简单建模、插值动画

智慧农业APP软件应用价值

The interviewer would rather have my younger brother who has just graduated and worked for one year than me who has worked for five years, with an annual salary of 25W

LeetCode HOT 100(买卖股票的最佳时机)

MySQL的explain,你真的会用吗?

Summary of unauthorized access vulnerabilities

Leetcode Hot 100
随机推荐
[interview ordinary people vs Expert Series] please talk about the network quadruple
MySQL advanced stored procedure storage function -- Introduction to stored procedure, basic syntax of stored procedure, variables (system variables, user-defined variables, local variables), if, param
期货在网上直接开户,是否安全呢?
大量mapper IO优化(使用多线程异步+CountDownLatch)
Matlab learning notes - calculate eigenvectors and manually execute PCA
MySQL高可用架构设计分析
华为机考题汇总
buuctf-[Flask]SSTI
- 4. Compare strings (10 points) the C language standard function library includes the StrCmp function for string comparison. As an exercise, we write a function with the same function.
Domain name resolution process
Dialogue: Shen Si L, founder of papaya mobile, from Silicon Valley to Beijing
H. Maximal AND
动态数据库工具——Database Inspector
显示实现接口和隐式实现接口的区别
Error running ‘JeecgSystemApplication‘: Command line is too long. Shorten command line for JeecgSyst
京东新品情报局剧透OPPO K10系列 或联动国漫IP带来惊喜?
MySQL Chapter 8 Database Constraints
十月的Android面试之旅,惨败在字节三面,幸斩获小米Offer
Your so-called comfort is slowly destroying you!
2、 Linear regression