.NET PDF文档开发API-Spire.PDF v7.1正式版发布!支持自定义签名图片功能

Spire.PDF for .NET更新至v7.1,该版本支持了自定义签名图片的功能。此外还增强了转换PDF到EXEL以及转换XPS到PDF的功能,欢迎下载体验。

新功能

  • 支持了自定义签名图片的功能
    PdfSignature signature = new PdfSignature(doc, page, cert, "123456");signature.ConfigureCustomGraphics(DrawGraphics); private void DrawGraphics(PdfCanvas g){   PointF point1 = new PointF(10, 20);   PointF point2 = new PointF(25, 50);   PointF point3 = new PointF(60, 20);   PointF[] pntArr = { point1, point2, point3 };   PdfRGBColor color = new PdfRGBColor(Color.Red);   g.DrawPolygon(new PdfPen(color), pntArr);   g.DrawRectangle(new PdfPen(Color.Green), new RectangleF(70, 10, 20, 30));   g.DrawLine(new PdfPen(Color.Blue), new PointF(120, 50), new PointF(95, 5));   g.DrawLine(new PdfPen(Color.Blue), new PointF(100, 30), new PointF(130, 20));

Bug修复


是E-iceblue官方友好合作伙伴,如果您对spire.PDF感兴趣,可以联系在线客服了解具体授权价格和使用机制。
标签:

声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2021年1月5日
下一篇 2021年1月5日

相关推荐

发表回复

登录后才能评论