Exemple #1
0
 private static extern IntPtr HPDF_Page_CreateURILinkAnnot(IntPtr page,
     HPdfRect rect, string url);
Exemple #2
0
 private static extern IntPtr HPDF_Page_CreateTextAnnot(IntPtr page,
     HPdfRect rect, string text, IntPtr encoder);
Exemple #3
0
 private static extern IntPtr HPDF_Page_CreateLinkAnnot(IntPtr page,
     HPdfRect rect, IntPtr dst);
Exemple #4
0
        public HPdfAnnotation CreateURILinkAnnot(HPdfRect rect, string uri)
        {
            IntPtr hannot;

            hannot = HPDF_Page_CreateURILinkAnnot(hpage, rect, uri);
            return new HPdfAnnotation(hannot);
        }
Exemple #5
0
        public HPdfAnnotation CreateTextAnnot(HPdfRect rect, string text,
            HPdfEncoder encoder)
        {
            IntPtr hannot;

            hannot = HPDF_Page_CreateTextAnnot(hpage, rect, text, encoder.GetHandle());
            return new HPdfAnnotation(hannot);
        }
Exemple #6
0
        public HPdfAnnotation CreateLinkAnnot(HPdfRect rect, HPdfDestination dst)
        {
            IntPtr hannot;

            hannot = HPDF_Page_CreateLinkAnnot(hpage, rect, dst.GetHandle());
            return new HPdfAnnotation(hannot);
        }