CreateSquareCircle
PdfContentEditor.CreateSquareCircle method
Crée une annotation en cercle carré.
public void CreateSquareCircle(Rectangle rect, string contents, Color clr, bool square, int page,
int borderWidth)
Paramètre | Taper | La description |
---|---|---|
rect | Rectangle | Rectangle d’annotation définissant l’emplacement de l’annotation sur la page. |
contents | String | Le contenu de l’annotation. |
clr | Color | La couleur du carré ou du cercle. |
square | Boolean | Vrai (carré), faux (cercle). |
page | Int32 | Le numéro de la page d’origine où l’annotation sera créée. |
borderWidth | Int32 | La largeur de la bordure du carré ou du cercle. |
Exemples
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");
Voir également
- class PdfContentEditor
- espace de noms Aspose.Pdf.Facades
- Assemblée Aspose.PDF