PdfContentEditor.CreatePopup
PdfContentEditor.CreatePopup method
Creates popup annotation in PDF document.
public void CreatePopup(Rectangle rect, string contents, bool open, 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. |
open | Boolean | A flag specifying whether the pop-up annotation should initially be displayed open. |
page | Int32 | The number of original page where the annotation will be created. |
Examples
PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("example.pdf");
editor.CreatePopup(new System.Drawing.Rectangle(0, 0, 100, 100), "Welcome to Aspose", true, 1);
editor.Save("example_out.pdf");
See Also
- class PdfContentEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF