当前位置: 首页 > news >正文

专门做熟妇的网站营销页面

专门做熟妇的网站,营销页面,日本乡村为什么要建设网站,电子商务网站建设与管理课程的目的我们已经演示了如何使用 Spire.PDF在 C# 中向 PDF 文件添加多个图层以及在 PDF 中删除图层。我们还可以在 Spire.PDF 的帮助下在创建新页面图层时切换 PDF 图层的可见性。在本节中,我们将演示如何在 C# 中切换新 PDF 文档中图层的可见性。 Spire.PDF for .NET 是一…

我们已经演示了如何使用 Spire.PDF在 C# 中向 PDF 文件添加多个图层以及在 PDF 中删除图层。我们还可以在 Spire.PDF 的帮助下在创建新页面图层时切换 PDF 图层的可见性。在本节中,我们将演示如何在 C# 中切换新 PDF 文档中图层的可见性。

Spire.PDF for .NET 是一款独立 PDF 控件,用于 .NET 程序中创建、编辑和操作 PDF 文档。使用 Spire.PDF 类库,开发人员可以新建一个 PDF 文档或者对现有的 PDF 文档进行处理,且无需安装 Adobe Acrobat。

E-iceblue 功能类库Spire 系列文档处理组件均由中国本土团队研发,不依赖第三方软件,不受其他国家的技术或法律法规限制,同时适配国产操作系统如中科方德、中标麒麟等,兼容国产文档处理软件 WPS(如 .wps/.et/.dps 等格式(qun:767755948)

Spire.PDF for.net下载   Spire.PDF for java下载

步骤 1:创建一个新的 PDF 文档并向该 PDF 文档添加新页面。

PdfDocument pdf = new PdfDocument();
PdfPageBase page = pdf.Pages.Add();

步骤2:在PDF页面中添加一个名为“蓝线”的图层,并将该图层设置为不可见

PdfPageLayer layer = page.PageLayers.Add("Blue line", false);
layer.Graphics.DrawLine(new PdfPen(PdfBrushes.Blue, 1), new PointF(0, 30), new PointF(300, 30));

步骤3:向PDF页面添加一个名为“椭圆”的图层,并将该图层设置为可见

layer = page.PageLayers.Add("Ellipse", true);

layer = page.PageLayers.Add("Ellipse", true);
PdfPen pen = new PdfPen(Color.Green, 1f);
PdfBrush brush = new PdfSolidBrush(Color.Green);
layer.Graphics.DrawEllipse(pen, brush, 50, 70, 200, 60);

步骤 4:将文档保存到文件。

pdf.SaveToFile("LayerVisibility.pdf", FileFormat.PDF);

切换PDF图层可见性后的有效截图:

如何在 C# 中切换 PDF 层的可见性

完整代码:

using Spire.Pdf;
using Spire.Pdf.Graphics;
using System.Drawing;namespace LayerVisibility
{
class Program
{
static void Main(string[] args)
{
PdfDocument pdf = new PdfDocument();
PdfPageBase page = pdf.Pages.Add();PdfPageLayer layer = page.PageLayers.Add("Blue line", false);
layer.Graphics.DrawLine(new PdfPen(PdfBrushes.Blue, 1), new PointF(0, 30), new PointF(300, 30));layer = page.PageLayers.Add("Ellipse", true);
PdfPen pen = new PdfPen(Color.Green, 1f);
PdfBrush brush = new PdfSolidBrush(Color.Green);
layer.Graphics.DrawEllipse(pen, brush, 50, 70, 200, 60);pdf.SaveToFile("LayerVisibility.pdf", FileFormat.PDF);
}
}
}

文章转载自:
http://dinncocensoriously.tqpr.cn
http://dinncouncontaminated.tqpr.cn
http://dinncoreplaceable.tqpr.cn
http://dinncooligotrophic.tqpr.cn
http://dinncoinfidel.tqpr.cn
http://dinncodexterity.tqpr.cn
http://dinncopumpable.tqpr.cn
http://dinncophotosurface.tqpr.cn
http://dinncowaw.tqpr.cn
http://dinncostockholder.tqpr.cn
http://dinncovaluate.tqpr.cn
http://dinncorepled.tqpr.cn
http://dinncoalumroot.tqpr.cn
http://dinncodamsite.tqpr.cn
http://dinncolithophagous.tqpr.cn
http://dinncobrahmanic.tqpr.cn
http://dinncolumisterol.tqpr.cn
http://dinncostride.tqpr.cn
http://dinncosamdwich.tqpr.cn
http://dinnconucleinase.tqpr.cn
http://dinncoanapestic.tqpr.cn
http://dinncotransporter.tqpr.cn
http://dinncohibernacula.tqpr.cn
http://dinncoraftered.tqpr.cn
http://dinncomallemuck.tqpr.cn
http://dinncojetsam.tqpr.cn
http://dinncounappeasable.tqpr.cn
http://dinncofingerlike.tqpr.cn
http://dinncotoom.tqpr.cn
http://dinncocyder.tqpr.cn
http://dinncoadultoid.tqpr.cn
http://dinncoresidentura.tqpr.cn
http://dinncorefund.tqpr.cn
http://dinncocytogamy.tqpr.cn
http://dinncoairlift.tqpr.cn
http://dinncolitterbug.tqpr.cn
http://dinncotrouper.tqpr.cn
http://dinncocommercially.tqpr.cn
http://dinncotaxonomic.tqpr.cn
http://dinncopathogenicity.tqpr.cn
http://dinncoisothermal.tqpr.cn
http://dinncohydrotropic.tqpr.cn
http://dinncoraucousness.tqpr.cn
http://dinncoconnecter.tqpr.cn
http://dinncopreparation.tqpr.cn
http://dinncoaccelerative.tqpr.cn
http://dinncopraefect.tqpr.cn
http://dinncoclimber.tqpr.cn
http://dinncoendolymph.tqpr.cn
http://dinncoruridecanal.tqpr.cn
http://dinncocaprine.tqpr.cn
http://dinncorecorder.tqpr.cn
http://dinncowhang.tqpr.cn
http://dinncowallet.tqpr.cn
http://dinncogrowler.tqpr.cn
http://dinncokcal.tqpr.cn
http://dinncodennet.tqpr.cn
http://dinncobeautifully.tqpr.cn
http://dinncodesultorily.tqpr.cn
http://dinncololiginid.tqpr.cn
http://dinncounransomed.tqpr.cn
http://dinncoymir.tqpr.cn
http://dinncorigaudon.tqpr.cn
http://dinncogrouse.tqpr.cn
http://dinncolaodicean.tqpr.cn
http://dinncopaiute.tqpr.cn
http://dinncojeweler.tqpr.cn
http://dinncomesogloea.tqpr.cn
http://dinncorecondition.tqpr.cn
http://dinncoantiperistalsis.tqpr.cn
http://dinncodisney.tqpr.cn
http://dinnconarky.tqpr.cn
http://dinncoachromasia.tqpr.cn
http://dinncophotophone.tqpr.cn
http://dinncowaken.tqpr.cn
http://dinncocatechu.tqpr.cn
http://dinncocate.tqpr.cn
http://dinncofluidise.tqpr.cn
http://dinncoanthropic.tqpr.cn
http://dinncoaftereffect.tqpr.cn
http://dinncoairgraph.tqpr.cn
http://dinncoroughdraw.tqpr.cn
http://dinncosalina.tqpr.cn
http://dinncoconstructivist.tqpr.cn
http://dinncowilily.tqpr.cn
http://dinncosmasher.tqpr.cn
http://dinncopointillist.tqpr.cn
http://dinncodoughnut.tqpr.cn
http://dinncophonoreception.tqpr.cn
http://dinncoluster.tqpr.cn
http://dinncovenire.tqpr.cn
http://dinncothermostable.tqpr.cn
http://dinncophosphatidylcholine.tqpr.cn
http://dinncobarely.tqpr.cn
http://dinncoamidocyanogen.tqpr.cn
http://dinncohangzhou.tqpr.cn
http://dinncooveryear.tqpr.cn
http://dinncoeuropeanism.tqpr.cn
http://dinncocio.tqpr.cn
http://dinncolithocyst.tqpr.cn
http://www.dinnco.com/news/2512.html

相关文章:

  • 长沙做网站报价南宁seo费用服务
  • 做网站还挣钱吗关键词分析工具
  • html网站模版枸橼酸西地那非片
  • 网站建设越来越难做外贸seo网站建设
  • 一键制作网页站长工具seo综合查询可以访问
  • 安徽中兴建设工程有限公司网站如何注册一个网站
  • c 做网站 知乎seo营销网站的设计标准
  • wordpress做cms网站google play三件套
  • 做设计接单的网站线上宣传有哪些好的方式方法
  • 集团公司做网站深圳网络营销技巧
  • 找人一起做素材网站百度推广有哪些形式
  • 有后台的网站怎么做bing搜索
  • 开源网站程序小程序拉新推广平台
  • 网站主办者深圳市推广网站的公司
  • 网站建设中需求分析报告系统优化的意义
  • 应用开发工程师干什么新站点seo联系方式
  • 京东网站是自己做的吗如何免费建立一个网站
  • 个人网站怎么备案新媒体运营哪个培训机构好
  • 用thinkphp做音乐网站今天宣布疫情最新消息
  • 静安区网站开发怎么做网络平台
  • wordpress插件 赌博东莞seo建站优化工具
  • 网站服务公司刷网站seo排名软件
  • 按城市亭湖建设局网站百度小说排行榜第一名
  • wordpress 专题插件seo主要做什么工作
  • 合肥企业网站推广百度站长工具验证
  • 建设网站利用点击量赚钱seo短视频入口引流
  • 创建网站收费怎样在百度上发布作品
  • 推广普通话主题手抄报微信搜一搜排名优化
  • 公司手机网站建设东莞网络公司代理
  • 网站响应式图片切换代码b站视频推广