PdfContentEditor.CreatePopup

PdfContentEditor.CreatePopup method

Creates popup annotation in PDF document.

public void CreatePopup(Rectangle rect, string contents, bool open, int page)
ParameterTypeDescription
rectRectangleThe annotation rectangle defining the location of the annotation on the page.
contentsStringThe contents of the annotation.
openBooleanA flag specifying whether the pop-up annotation should initially be displayed open.
pageInt32The 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