CreateSquareCircle
PdfContentEditor.CreateSquareCircle method
创建方圆注释。
public void CreateSquareCircle(Rectangle rect, string contents, Color clr, bool square, int page,
int borderWidth)
范围 | 类型 | 描述 |
---|---|---|
rect | Rectangle | 定义页面上注释位置的注释矩形。 |
contents | String | 注释的内容。 |
clr | Color | 正方形或圆形的颜色。 |
square | Boolean | 真(方形),假(圆形)。 |
page | Int32 | 将在其中创建注释的原始页数。 |
borderWidth | Int32 | 正方形或圆形的边框宽度。 |
例子
PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("example.pdf");
editor.CreateSquareCircle(new System.Drawing.Rectangle(0, 0, 100, 100),
"Welcome to Aspose", System.Drawing.Color.Red, false, 1, 5);
editor.Save("example_out.pdf");
也可以看看
- class PdfContentEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF