小编Alb*_*rex的帖子

PDFsharp文档

是否有可能找到PDFsharp库的良好文档?

我在Google上搜索过,但我没有找到任何参考文档.

我不知道该怎么XGraphics.RotateAtTransformXGraphics.TranslateTransform工作.

c# pdfsharp

17
推荐指数
2
解决办法
1万
查看次数

在一个继承一个类的部分类中声明类字段,然后在另一个类中初始化它

我有一个部分类的两部分:

public partial class Class1 : AnotherClass
{
   int id;
}

public partial class Class1
{
   public void func()
   {
      //here i need to access the id variable defined in the other part
      id = 1;   //this instruction raise an error "The name 'id' does not exists in the current context"
   }
}
Run Code Online (Sandbox Code Playgroud)

我该如何访问该变量?

c# partial-classes

2
推荐指数
1
解决办法
795
查看次数

标签 统计

c# ×2

partial-classes ×1

pdfsharp ×1