private static extern IntPtr HPDF_Page_CreateURILinkAnnot(IntPtr page, HPdfRect rect, string url);
private static extern IntPtr HPDF_Page_CreateTextAnnot(IntPtr page, HPdfRect rect, string text, IntPtr encoder);
private static extern IntPtr HPDF_Page_CreateLinkAnnot(IntPtr page, HPdfRect rect, IntPtr dst);
public HPdfAnnotation CreateURILinkAnnot(HPdfRect rect, string uri) { IntPtr hannot; hannot = HPDF_Page_CreateURILinkAnnot(hpage, rect, uri); return new HPdfAnnotation(hannot); }
public HPdfAnnotation CreateTextAnnot(HPdfRect rect, string text, HPdfEncoder encoder) { IntPtr hannot; hannot = HPDF_Page_CreateTextAnnot(hpage, rect, text, encoder.GetHandle()); return new HPdfAnnotation(hannot); }
public HPdfAnnotation CreateLinkAnnot(HPdfRect rect, HPdfDestination dst) { IntPtr hannot; hannot = HPDF_Page_CreateLinkAnnot(hpage, rect, dst.GetHandle()); return new HPdfAnnotation(hannot); }