PdfContentEditor.CreateFreeText
PdfContentEditor.CreateFreeText method
Creates free text annotation in PDF document
public void CreateFreeText(Rectangle rect, string contents, int page)
Parameter | Type | Description |
---|---|---|
rect | Rectangle | The annotation rectangle defining the location of the annotation on the page. |
contents | String | The contents of the annotation. |
page | Int32 | The number of original page where the text annotation will be created. |
Examples
PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("example.pdf");
editor.CreateFreeText(new System.Drawing.Rectangle(0, 0, 100, 100), "Welcome to Aspose", 1);
editor.Save("example_out.pdf");
See Also
- class PdfContentEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF