public HPdfOutline CreateOutline(HPdfOutline parent, string title, HPdfEncoder encoder) { IntPtr hparent; IntPtr hencoder; IntPtr houtline; if (encoder != null) hencoder = encoder.GetHandle(); else hencoder = IntPtr.Zero; if (parent != null) hparent = parent.GetHandle(); else hparent = IntPtr.Zero; houtline = HPDF_CreateOutline(hpdf, hparent, title, hencoder); return new HPdfOutline(houtline); }
public HPdfAnnotation CreateTextAnnot(HPdfRect rect, string text, HPdfEncoder encoder) { IntPtr hannot; hannot = HPDF_Page_CreateTextAnnot(hpage, rect, text, encoder.GetHandle()); return new HPdfAnnotation(hannot); }