DrawCurve
PdfContentEditor.DrawCurve method
Crée une annotation de courbe.
public void DrawCurve(LineInfo lineInfo, int page, Rectangle annotRect, string annotContents)
Paramètre | Taper | La description |
---|---|---|
lineInfo | LineInfo | L’instance de la classe LineInfo. |
page | Int32 | Le numéro de la page d’origine où l’annotation sera créée. |
annotRect | Rectangle | Rectangle d’annotation définissant l’emplacement de l’annotation sur la page. |
annotContents | String | Le contenu de l’annotation. |
Exemples
PdfContentEditor editor = new PdfContentEditor();
newApiEditor.BindPdf("example.pdf");
LineInfo lineInfo = new LineInfo();
lineInfo.VerticeCoordinate = new float[] { 0, 0, 100, 100 }; //x1, y1, x2, y2, .. xn, yn
lineInfo.Visibility = true;
editor.DrawCurve(lineInfo, 1, new System.Drawing.Rectangle(0, 0, 0, 0), "Welcome to Aspose");
editor.Save("example_out.pdf");
Voir également
- class LineInfo
- class PdfContentEditor
- espace de noms Aspose.Pdf.Facades
- Assemblée Aspose.PDF