PdfContentEditor.CreateSquareCircle
Contents
[
Hide
]PdfContentEditor.CreateSquareCircle method
Creates square-circle annotation.
public void CreateSquareCircle(Rectangle rect, string contents, Color clr, bool square, int page,
int borderWidth)
Parameter | Type | Description |
---|---|---|
rect | Rectangle | The annotation rectangle defining the location of the annotation on the page. |
contents | String | The contents of the annotation. |
clr | Color | The colour of square or circle. |
square | Boolean | True (square), false (sircle). |
page | Int32 | The number of original page where the annotation will be created. |
borderWidth | Int32 | The border width of square or circle. |
Examples
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");
See Also
- class PdfContentEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF