public static AnnotationPopup Create(Rect rect, Annotation parent) { AnnotationPopup popup1 = AnnotationPopup.Create(rect); popup1.Parent = parent; return(popup1); }
public static AnnotationPopup Create(Rect rect, bool open) { AnnotationPopup popup1 = AnnotationPopup.Create(rect); popup1.DisplayedOpen = open; return(popup1); }
public static AnnotationPopup Create(Rect rect) { PDFDict dict1 = Library.CreateDict(); dict1["Subtype"] = Library.CreateName("Popup"); AnnotationPopup popup1 = (Resources.Get(dict1, typeof(AnnotationPopup)) as AnnotationPopup); popup1.Rect = rect; Library.CreateIndirect(dict1); return(popup1); }