【问题标题】:How to get the XGraphics Class in PDFsharp如何在 PDFsharp 中获取 XGraphics 类
【发布时间】:2013-01-23 11:23:39
【问题描述】:

我正在使用 PDFsharp 生成 pdf,但我无法使用 XGraphics 类。有人可以告诉我如何使用 XGraphics 类,或者我需要在我的应用程序中添加什么 dll 和命名空间。实际上,我必须在我的 dll 的页眉和页脚中画一条线,并且在链接 http://www.pdfsharp.net/wiki/Graphics-sample.ashx#Draw_simple_lines_0 上有一个方法 DrawLine() 正在使用我无法找到的 XGraphics 类。

【问题讨论】:

    标签: pdf pdfsharp


    【解决方案1】:

    好的,我明白了。它包含在命名空间下:

    using PdfSharp.Drawing;

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-07-19
      • 2023-03-26
      • 2010-12-22
      • 1970-01-01
      • 2019-11-11
      • 1970-01-01
      • 2015-05-13
      • 1970-01-01
      相关资源
      最近更新 更多